cpu.cc (9524:d6ffa982a68b) | cpu.cc (9648:f10eb34e3e38) |
---|---|
1/* 2 * Copyright (c) 2011-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 --- 1706 unchanged lines hidden (view full) --- 1715 1716 Cycles cycles(curCycle() - lastRunningCycle); 1717 // @todo: This is an oddity that is only here to match the stats 1718 if (cycles != 0) 1719 --cycles; 1720 idleCycles += cycles; 1721 numCycles += cycles; 1722 | 1/* 2 * Copyright (c) 2011-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 --- 1706 unchanged lines hidden (view full) --- 1715 1716 Cycles cycles(curCycle() - lastRunningCycle); 1717 // @todo: This is an oddity that is only here to match the stats 1718 if (cycles != 0) 1719 --cycles; 1720 idleCycles += cycles; 1721 numCycles += cycles; 1722 |
1723 schedule(tickEvent, nextCycle()); | 1723 schedule(tickEvent, clockEdge()); |
1724} 1725 1726template <class Impl> 1727void 1728FullO3CPU<Impl>::wakeup() 1729{ 1730 if (this->thread[0]->status() != ThreadContext::Suspended) 1731 return; --- 58 unchanged lines hidden --- | 1724} 1725 1726template <class Impl> 1727void 1728FullO3CPU<Impl>::wakeup() 1729{ 1730 if (this->thread[0]->status() != ThreadContext::Suspended) 1731 return; --- 58 unchanged lines hidden --- |