From 72276af49f1113649e97074b5b492ad7b5e25837 Mon Sep 17 00:00:00 2001 From: Erik Hallnor Date: Fri, 1 Oct 2004 16:31:13 -0400 Subject: 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 --- cpu/trace/opt_cpu.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpu/trace/opt_cpu.cc') 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"); } -- cgit v1.2.3