mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-14 09:53:18 +00:00
8327125: SpinYield.report should report microseconds
Reviewed-by: gli, dholmes, shade
This commit is contained in:
parent
59529a92ca
commit
8cfacebd06
@ -66,7 +66,7 @@ void SpinYield::report(outputStream* s) const {
|
||||
if (_sleep_time.value() != 0) { // Report sleep duration, if slept.
|
||||
separator = print_separator(s, separator);
|
||||
s->print("sleep = " UINT64_FORMAT " usecs",
|
||||
_sleep_time.milliseconds());
|
||||
_sleep_time.microseconds());
|
||||
}
|
||||
if (separator == initial_separator) {
|
||||
s->print("no waiting");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user