summaryrefslogtreecommitdiff
path: root/src/cpu/base.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/base.hh')
-rw-r--r--src/cpu/base.hh13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/cpu/base.hh b/src/cpu/base.hh
index b49f30272..79a4bf1d6 100644
--- a/src/cpu/base.hh
+++ b/src/cpu/base.hh
@@ -248,17 +248,8 @@ class BaseCPU : public MemObject
return FullSystem && interrupts[tc->threadId()]->checkInterrupts(tc);
}
- class ProfileEvent : public Event
- {
- private:
- BaseCPU *cpu;
- Tick interval;
-
- public:
- ProfileEvent(BaseCPU *cpu, Tick interval);
- void process();
- };
- ProfileEvent *profileEvent;
+ void processProfileEvent();
+ EventFunctionWrapper * profileEvent;
protected:
std::vector<ThreadContext *> threadContexts;