Fix GC time in overhead tests (#8328)

This commit is contained in:
Lauri Tulmin 2023-04-21 12:23:07 +03:00 committed by GitHub
parent ffb63d68eb
commit 999863d39b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ class PrintStreamPersister implements ResultsPersister {
display(results, "Min heap used (MB)", res -> format(res.getMinHeapUsedMB()));
display(results, "Max heap used (MB)", res -> format(res.getMaxHeapUsedMB()));
display(results, "Thread switch rate", res -> String.valueOf(res.maxThreadContextSwitchRate));
display(results, "GC time (ms)", res -> String.valueOf(res.totalGCTime));
display(results, "GC time (ms)", res -> String.valueOf(NANOSECONDS.toMillis(res.totalGCTime)));
display(
results,
"GC pause time (ms)",