commit_impl.hh (9046:a1104cc13db2) | commit_impl.hh (9152:86c0e6ca5e7c) |
---|---|
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 --- 617 unchanged lines hidden (view full) --- 626 627template <class Impl> 628void 629DefaultCommit<Impl>::tick() 630{ 631 wroteToTimeBuffer = false; 632 _nextStatus = Inactive; 633 | 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 --- 617 unchanged lines hidden (view full) --- 626 627template <class Impl> 628void 629DefaultCommit<Impl>::tick() 630{ 631 wroteToTimeBuffer = false; 632 _nextStatus = Inactive; 633 |
634 if (drainPending && rob->isEmpty() && !iewStage->hasStoresToWB()) { | 634 if (drainPending && cpu->instList.empty() && !iewStage->hasStoresToWB() && 635 interrupt == NoFault) { |
635 cpu->signalDrained(); 636 drainPending = false; 637 return; 638 } 639 640 if (activeThreads->empty()) 641 return; 642 --- 871 unchanged lines hidden --- | 636 cpu->signalDrained(); 637 drainPending = false; 638 return; 639 } 640 641 if (activeThreads->empty()) 642 return; 643 --- 871 unchanged lines hidden --- |