iew_impl.hh (8890:9cf2327b7f5d) | iew_impl.hh (9046:a1104cc13db2) |
---|---|
1/* 2 * Copyright (c) 2010-2011 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 1138 unchanged lines hidden (view full) --- 1147 1148 insts_to_dispatch.pop(); 1149 1150 toRename->iewInfo[tid].dispatched++; 1151 1152 ++iewDispatchedInsts; 1153 1154#if TRACING_ON | 1/* 2 * Copyright (c) 2010-2011 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 1138 unchanged lines hidden (view full) --- 1147 1148 insts_to_dispatch.pop(); 1149 1150 toRename->iewInfo[tid].dispatched++; 1151 1152 ++iewDispatchedInsts; 1153 1154#if TRACING_ON |
1155 inst->dispatchTick = curTick(); | 1155 inst->dispatchTick = curTick() - inst->fetchTick; |
1156#endif 1157 } 1158 1159 if (!insts_to_dispatch.empty()) { 1160 DPRINTF(IEW,"[tid:%i]: Issue: Bandwidth Full. Blocking.\n", tid); 1161 block(tid); 1162 toRename->iewUnblock[tid] = false; 1163 } --- 448 unchanged lines hidden (view full) --- 1612void 1613DefaultIEW<Impl>::updateExeInstStats(DynInstPtr &inst) 1614{ 1615 ThreadID tid = inst->threadNumber; 1616 1617 iewExecutedInsts++; 1618 1619#if TRACING_ON | 1156#endif 1157 } 1158 1159 if (!insts_to_dispatch.empty()) { 1160 DPRINTF(IEW,"[tid:%i]: Issue: Bandwidth Full. Blocking.\n", tid); 1161 block(tid); 1162 toRename->iewUnblock[tid] = false; 1163 } --- 448 unchanged lines hidden (view full) --- 1612void 1613DefaultIEW<Impl>::updateExeInstStats(DynInstPtr &inst) 1614{ 1615 ThreadID tid = inst->threadNumber; 1616 1617 iewExecutedInsts++; 1618 1619#if TRACING_ON |
1620 inst->completeTick = curTick(); | 1620 inst->completeTick = curTick() - inst->fetchTick; |
1621#endif 1622 1623 // 1624 // Control operations 1625 // 1626 if (inst->isControl()) 1627 iewExecutedBranches[tid]++; 1628 --- 42 unchanged lines hidden --- | 1621#endif 1622 1623 // 1624 // Control operations 1625 // 1626 if (inst->isControl()) 1627 iewExecutedBranches[tid]++; 1628 --- 42 unchanged lines hidden --- |