diff options
Diffstat (limited to 'sim/main.cc')
-rw-r--r-- | sim/main.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sim/main.cc b/sim/main.cc index ce9ef5819..addedbc85 100644 --- a/sim/main.cc +++ b/sim/main.cc @@ -400,7 +400,9 @@ main(int argc, char **argv) async_event = false; if (async_dump) { async_dump = false; - new DumpStatsEvent(); + + using namespace Statistics; + SetupEvent(Dump, curTick); } if (async_exit) { |