Skip to content

Commit 23b4f84

Browse files
author
Felix Berlakovich
committed
[GR-60165] Fix incorrect unit in wall clock timer output
PullRequest: graal/19487
2 parents 2f9c6bf + c7e5df0 commit 23b4f84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/jdk.graal.compiler/src/jdk/graal/compiler/debug/WallClockTimerKey.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@ public TimeUnit getTimeUnit() {
6363

6464
@Override
6565
public String toHumanReadableFormat(long value) {
66-
return String.format("%d ms", value);
66+
return String.format("%d ns", value);
6767
}
6868

6969
@Override
7070
public Pair<String, String> toCSVFormat(long value) {
71-
return Pair.create(Long.toString(value), "ms");
71+
return Pair.create(Long.toString(value), "ns");
7272
}
7373
}

0 commit comments

Comments
 (0)