diff options
Diffstat (limited to 'cpu/base_cpu.cc')
-rw-r--r-- | cpu/base_cpu.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpu/base_cpu.cc b/cpu/base_cpu.cc index 7605ff3c3..58f38d5d5 100644 --- a/cpu/base_cpu.cc +++ b/cpu/base_cpu.cc @@ -35,6 +35,7 @@ #include "base/misc.hh" #include "cpu/base_cpu.hh" #include "cpu/exec_context.hh" +#include "cpu/sampling_cpu/sampling_cpu.hh" #include "sim/param.hh" #include "sim/sim_events.hh" @@ -210,9 +211,10 @@ BaseCPU::registerExecContexts() void -BaseCPU::switchOut() +BaseCPU::switchOut(SamplingCPU *sampler) { - // default: do nothing + // default: do nothing, signal done + sampler->signalSwitched(); } void |