projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2ac7b6
)
Make printouts look more like stats.
author
Erik Hallnor
<ehallnor@umich.edu>
Fri, 1 Oct 2004 20:31:13 +0000
(16:31 -0400)
committer
Erik Hallnor
<ehallnor@umich.edu>
Fri, 1 Oct 2004 20:31:13 +0000
(16:31 -0400)
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
cpu/trace/opt_cpu.cc
patch
|
blob
|
history
diff --git
a/cpu/trace/opt_cpu.cc
b/cpu/trace/opt_cpu.cc
index 22d12f0792de83d6ff963dcdbeda4f16a4773afe..291525c1d71f1413edcf18a74257b9a9843b38b3 100644
(file)
--- 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");
}