8327125: SpinYield.report should report microseconds

Reviewed-by: gli, dholmes, shade
This commit is contained in:
Elif Aslan 2024-03-04 17:50:42 +00:00 committed by Aleksey Shipilev
parent 59529a92ca
commit 8cfacebd06

View File

@ -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");