switching: turn on profiling after a switch if there's an event
--HG-- extra : convert_revision : 689e5b85c47bb2aaceb7eb38c2a24a2e5b69376c
This commit is contained in:
parent
7a996ccc98
commit
df015f17a4
1 changed files with 2 additions and 3 deletions
|
@ -343,9 +343,8 @@ BaseCPU::takeOverFrom(BaseCPU *oldCPU, Port *ic, Port *dc)
|
|||
for (int i = 0; i < threadContexts.size(); ++i)
|
||||
threadContexts[i]->profileClear();
|
||||
|
||||
// The Sampler must take care of this!
|
||||
// if (profileEvent)
|
||||
// profileEvent->schedule(curTick);
|
||||
if (profileEvent)
|
||||
profileEvent->schedule(curTick);
|
||||
#endif
|
||||
|
||||
// Connect new CPU to old CPU's memory only if new CPU isn't
|
||||
|
|
Loading…
Reference in a new issue