diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-04-23 11:34:39 -0400 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-04-23 11:34:39 -0400 |
commit | a006aa067a197f5ce2cd3f22ffe30ae3d9103cbf (patch) | |
tree | 1a10eafaa85a1f97b17b040813fd6348aa1db9d2 /src/cpu/o3/cpu.cc | |
parent | f3a0abbecc3456147f1ca3e297a50ae4353316fd (diff) | |
parent | dbc1edd23deed386c952a77488a70f20485da711 (diff) | |
download | gem5-a006aa067a197f5ce2cd3f22ffe30ae3d9103cbf.tar.xz |
Merge zizzer.eecs.umich.edu:/z/m5/Bitkeeper/newmem
into zizzer.eecs.umich.edu:/.automount/wexford/x/gblack/m5/newmem-o3-spec
--HG--
extra : convert_revision : 12f10c174f0eca1ddf74b672414fbe78251f686b
Diffstat (limited to 'src/cpu/o3/cpu.cc')
-rw-r--r-- | src/cpu/o3/cpu.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/cpu/o3/cpu.cc b/src/cpu/o3/cpu.cc index 59978a065..8e4c625df 100644 --- a/src/cpu/o3/cpu.cc +++ b/src/cpu/o3/cpu.cc @@ -384,25 +384,25 @@ FullO3CPU<Impl>::fullCPURegStats() .name(name() + ".cpi") .desc("CPI: Cycles Per Instruction") .precision(6); - cpi = simTicks / committedInsts; + cpi = numCycles / committedInsts; totalCpi .name(name() + ".cpi_total") .desc("CPI: Total CPI of All Threads") .precision(6); - totalCpi = simTicks / totalCommittedInsts; + totalCpi = numCycles / totalCommittedInsts; ipc .name(name() + ".ipc") .desc("IPC: Instructions Per Cycle") .precision(6); - ipc = committedInsts / simTicks; + ipc = committedInsts / numCycles; totalIpc .name(name() + ".ipc_total") .desc("IPC: Total IPC of All Threads") .precision(6); - totalIpc = totalCommittedInsts / simTicks; + totalIpc = totalCommittedInsts / numCycles; } |