diff --git a/src/cpu/base.cc b/src/cpu/base.cc index ee409048b9..a54ed93490 100644 --- a/src/cpu/base.cc +++ b/src/cpu/base.cc @@ -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