Skip to content

Commit e238132

Browse files
committed
[GR-48352] Add timer logging support to the ParseTask class
PullRequest: graal/19318
2 parents 9db0e9e + 4081096 commit e238132

File tree

1 file changed

+5
-0
lines changed
  • substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code

1 file changed

+5
-0
lines changed

substratevm/src/com.oracle.svm.hosted/src/com/oracle/svm/hosted/code/CompileQueue.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ public void run(DebugContext debug) {
357357
public Description getDescription() {
358358
return description;
359359
}
360+
361+
@Override
362+
public DebugContext getDebug(OptionValues options, List<DebugHandlersFactory> factories) {
363+
return new DebugContext.Builder(options, factories).description(getDescription()).globalMetrics(metricValues).build();
364+
}
360365
}
361366

362367
@SuppressWarnings("this-escape")

0 commit comments

Comments
 (0)