using namespace std;
-extern SamplingCPU *SampCPU;
+extern Sampler *SampCPU;
using namespace Stats;
void
-BaseCPU::switchOut(SamplingCPU *sampler)
+BaseCPU::switchOut(Sampler *sampler)
{
panic("This CPU doesn't support sampling!");
}
/// Prepare for another CPU to take over execution. When it is
/// is ready (drained pipe) it signals the sampler.
- virtual void switchOut(SamplingCPU *);
+ virtual void switchOut(Sampler *);
/// Take over execution from the given CPU. Used for warm-up and
/// sampling.
}
void
-SimpleCPU::switchOut(SamplingCPU *s)
+SimpleCPU::switchOut(Sampler *s)
{
sampler = s;
if (status() == DcacheMissStall) {
// execution context
ExecContext *xc;
- void switchOut(SamplingCPU *s);
+ void switchOut(Sampler *s);
void takeOverFrom(BaseCPU *oldCPU);
#ifdef FULL_SYSTEM
// Pointer to the sampler that is telling us to switchover.
// Used to signal the completion of the pipe drain and schedule
// the next switchover
- SamplingCPU *sampler;
+ Sampler *sampler;
StaticInstPtr<TheISA> curStaticInst;