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
This commit is contained in:
parent
f2ac7b645f
commit
72276af49f
1 changed files with 3 additions and 2 deletions
|
@ -161,8 +161,9 @@ OptCPU::tick()
|
||||||
references += refInfo[set].size();
|
references += refInfo[set].size();
|
||||||
}
|
}
|
||||||
// exit;
|
// exit;
|
||||||
fprintf(stderr, "OPT Misses: %d\nOPT Hits: %d\nOPT Accesses: %d\n",
|
fprintf(stderr,"sys.cpu.misses %d #opt cache misses\n",misses);
|
||||||
misses, hits, references);
|
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");
|
new SimExitEvent("Finshed Memory Trace");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue