summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLisa Hsu <hsul@eecs.umich.edu>2006-10-05 13:18:32 -0400
committerLisa Hsu <hsul@eecs.umich.edu>2006-10-05 13:18:32 -0400
commit868d112578467273a50de3bf926bf0d280eebcd3 (patch)
treea26c855cad5ad9a11fd603976bf34c0fc89d71b2 /src
parent4142f8f7c02ff18cb42a91bb8b9c2e0d847cf505 (diff)
downloadgem5-868d112578467273a50de3bf926bf0d280eebcd3.tar.xz
fix the argument to m5.simulate() on a checkpoint.
src/sim/stat_control.cc: add curTick to reset stats printf. --HG-- extra : convert_revision : da8cf5921e81b73f47d6831d539ca1fbdace3d1d
Diffstat (limited to 'src')
-rw-r--r--src/sim/stat_control.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc
index dfed2a0c8..3fad8beb5 100644
--- a/src/sim/stat_control.cc
+++ b/src/sim/stat_control.cc
@@ -186,7 +186,7 @@ StatEvent::process()
DumpNow();
if (flags & Stats::Reset) {
- cprintf("Resetting stats!\n");
+ cprintf("Resetting stats at cycle %d!\n", curTick);
reset();
}