From: Erik Hallnor Date: Fri, 1 Oct 2004 20:31:13 +0000 (-0400) Subject: Make printouts look more like stats. X-Git-Tag: m5_1.0_tutorial~173 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=72276af49f1113649e97074b5b492ad7b5e25837;p=gem5.git 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 --- 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"); }