diff options
author | Erik Hallnor <ehallnor@umich.edu> | 2004-10-01 16:31:13 -0400 |
---|---|---|
committer | Erik Hallnor <ehallnor@umich.edu> | 2004-10-01 16:31:13 -0400 |
commit | 72276af49f1113649e97074b5b492ad7b5e25837 (patch) | |
tree | e0004d71614b9171bc1cde77beaba31dea65cbe8 | |
parent | f2ac7b645f9c352bfb2697e2893beef62af0d08a (diff) | |
download | gem5-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.cc | 5 |
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"); } |