From 6df196b71e058b2c827e1027416155ac8ec8cf9f Mon Sep 17 00:00:00 2001 From: Ali Saidi Date: Tue, 5 Jun 2012 01:23:09 -0400 Subject: O3: Clean up the O3 structures and try to pack them a bit better. DynInst is extremely large the hope is that this re-organization will put the most used members close to each other. --- src/cpu/o3/iew_impl.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/cpu/o3/iew_impl.hh') diff --git a/src/cpu/o3/iew_impl.hh b/src/cpu/o3/iew_impl.hh index b306e6e58..60f4604a2 100644 --- a/src/cpu/o3/iew_impl.hh +++ b/src/cpu/o3/iew_impl.hh @@ -1152,7 +1152,7 @@ DefaultIEW::dispatchInsts(ThreadID tid) ++iewDispatchedInsts; #if TRACING_ON - inst->dispatchTick = curTick(); + inst->dispatchTick = curTick() - inst->fetchTick; #endif } @@ -1617,7 +1617,7 @@ DefaultIEW::updateExeInstStats(DynInstPtr &inst) iewExecutedInsts++; #if TRACING_ON - inst->completeTick = curTick(); + inst->completeTick = curTick() - inst->fetchTick; #endif // -- cgit v1.2.3