summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Hallnor <ehallnor@umich.edu>2004-10-01 16:31:13 -0400
committerErik Hallnor <ehallnor@umich.edu>2004-10-01 16:31:13 -0400
commit72276af49f1113649e97074b5b492ad7b5e25837 (patch)
treee0004d71614b9171bc1cde77beaba31dea65cbe8
parentf2ac7b645f9c352bfb2697e2893beef62af0d08a (diff)
downloadgem5-72276af49f1113649e97074b5b492ad7b5e25837.tar.xz
Make printouts look more like stats.
cpu/trace/opt_cpu.cc: Change printout to look more like real stats, should really just make these stats someday. --HG-- extra : convert_revision : cd5db4657a53abeda0417ca6ba4407d366408358
-rw-r--r--cpu/trace/opt_cpu.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpu/trace/opt_cpu.cc b/cpu/trace/opt_cpu.cc
index 22d12f079..291525c1d 100644
--- a/cpu/trace/opt_cpu.cc
+++ b/cpu/trace/opt_cpu.cc
@@ -161,8 +161,9 @@ OptCPU::tick()
references += refInfo[set].size();
}
// exit;
- fprintf(stderr, "OPT Misses: %d\nOPT Hits: %d\nOPT Accesses: %d\n",
- misses, hits, references);
+ fprintf(stderr,"sys.cpu.misses %d #opt cache misses\n",misses);
+ fprintf(stderr,"sys.cpu.hits %d #opt cache hits\n", hits);
+ fprintf(stderr,"sys.cpu.accesses %d #opt cache acceses\n", references);
new SimExitEvent("Finshed Memory Trace");
}