iew_impl.hh (9444:ab47fe7f03f0) | iew_impl.hh (9527:68154bc0e0ea) |
---|---|
1/* 2 * Copyright (c) 2010-2012 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 --- 42 unchanged lines hidden (view full) --- 51#include "cpu/checker/cpu.hh" 52#include "cpu/o3/fu_pool.hh" 53#include "cpu/o3/iew.hh" 54#include "cpu/timebuf.hh" 55#include "debug/Activity.hh" 56#include "debug/Decode.hh" 57#include "debug/Drain.hh" 58#include "debug/IEW.hh" | 1/* 2 * Copyright (c) 2010-2012 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 --- 42 unchanged lines hidden (view full) --- 51#include "cpu/checker/cpu.hh" 52#include "cpu/o3/fu_pool.hh" 53#include "cpu/o3/iew.hh" 54#include "cpu/timebuf.hh" 55#include "debug/Activity.hh" 56#include "debug/Decode.hh" 57#include "debug/Drain.hh" 58#include "debug/IEW.hh" |
59#include "debug/O3PipeView.hh" |
|
59#include "params/DerivO3CPU.hh" 60 61using namespace std; 62 63template<class Impl> 64DefaultIEW<Impl>::DefaultIEW(O3CPU *_cpu, DerivO3CPUParams *params) 65 : issueToExecQueue(params->backComSize, params->forwardComSize), 66 cpu(_cpu), --- 1539 unchanged lines hidden (view full) --- 1606void 1607DefaultIEW<Impl>::updateExeInstStats(DynInstPtr &inst) 1608{ 1609 ThreadID tid = inst->threadNumber; 1610 1611 iewExecutedInsts++; 1612 1613#if TRACING_ON | 60#include "params/DerivO3CPU.hh" 61 62using namespace std; 63 64template<class Impl> 65DefaultIEW<Impl>::DefaultIEW(O3CPU *_cpu, DerivO3CPUParams *params) 66 : issueToExecQueue(params->backComSize, params->forwardComSize), 67 cpu(_cpu), --- 1539 unchanged lines hidden (view full) --- 1607void 1608DefaultIEW<Impl>::updateExeInstStats(DynInstPtr &inst) 1609{ 1610 ThreadID tid = inst->threadNumber; 1611 1612 iewExecutedInsts++; 1613 1614#if TRACING_ON |
1614 inst->completeTick = curTick() - inst->fetchTick; | 1615 if (DTRACE(O3PipeView)) { 1616 inst->completeTick = curTick() - inst->fetchTick; 1617 } |
1615#endif 1616 1617 // 1618 // Control operations 1619 // 1620 if (inst->isControl()) 1621 iewExecutedBranches[tid]++; 1622 --- 42 unchanged lines hidden --- | 1618#endif 1619 1620 // 1621 // Control operations 1622 // 1623 if (inst->isControl()) 1624 iewExecutedBranches[tid]++; 1625 --- 42 unchanged lines hidden --- |