diff options
Diffstat (limited to 'cpu/ozone/cpu.hh')
-rw-r--r-- | cpu/ozone/cpu.hh | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cpu/ozone/cpu.hh b/cpu/ozone/cpu.hh index eec8902d8..1d522b2fa 100644 --- a/cpu/ozone/cpu.hh +++ b/cpu/ozone/cpu.hh @@ -64,6 +64,7 @@ class Process; #endif // FULL_SYSTEM class Checkpoint; +class EndQuiesceEvent; class MemInterface; namespace Trace { @@ -149,7 +150,7 @@ class OzoneCPU : public BaseCPU void unserialize(Checkpoint *cp, const std::string §ion); #if FULL_SYSTEM - Event *getQuiesceEvent(); + EndQuiesceEvent *getQuiesceEvent(); Tick readLastActivate(); Tick readLastSuspend(); @@ -330,8 +331,13 @@ class OzoneCPU : public BaseCPU int cpuId; void switchOut(Sampler *sampler); + void signalSwitched(); void takeOverFrom(BaseCPU *oldCPU); + Sampler *sampler; + + int switchCount; + #if FULL_SYSTEM Addr dbg_vtophys(Addr addr); |