Commit e21b7a87 authored by Ben Gamari's avatar Ben Gamari 🐢

Stats: Add sync pauses to +RTS -S output

parent e5c5f612
......@@ -342,6 +342,9 @@ stat_endNonmovingGcSync ()
stats.nonmoving_gc_sync_max_elapsed_ns =
stg_max(stats.gc.nonmoving_gc_sync_elapsed_ns,
stats.nonmoving_gc_sync_max_elapsed_ns);
if (RtsFlags.GcFlags.giveStats == VERBOSE_GC_STATS) {
statsPrintf("# sync %6.3f\n", TimeToSecondsDbl(stats.gc.nonmoving_gc_sync_elapsed_ns));
}
traceConcSyncEnd();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment