Change SamplingCPU to Sampler.
--HG-- extra : convert_revision : ddba327a572804954adcebfff1182b97d474c020
This commit is contained in:
parent
ae1b184a70
commit
550003e1b7
|
@ -49,7 +49,7 @@
|
|||
|
||||
using namespace std;
|
||||
|
||||
extern SamplingCPU *SampCPU;
|
||||
extern Sampler *SampCPU;
|
||||
|
||||
using namespace Stats;
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ BaseCPU::registerExecContexts()
|
|||
|
||||
|
||||
void
|
||||
BaseCPU::switchOut(SamplingCPU *sampler)
|
||||
BaseCPU::switchOut(Sampler *sampler)
|
||||
{
|
||||
panic("This CPU doesn't support sampling!");
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@ class BaseCPU : public SimObject
|
|||
|
||||
/// 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.
|
||||
|
|
|
@ -148,7 +148,7 @@ SimpleCPU::~SimpleCPU()
|
|||
}
|
||||
|
||||
void
|
||||
SimpleCPU::switchOut(SamplingCPU *s)
|
||||
SimpleCPU::switchOut(Sampler *s)
|
||||
{
|
||||
sampler = s;
|
||||
if (status() == DcacheMissStall) {
|
||||
|
|
|
@ -145,7 +145,7 @@ class SimpleCPU : public BaseCPU
|
|||
// execution context
|
||||
ExecContext *xc;
|
||||
|
||||
void switchOut(SamplingCPU *s);
|
||||
void switchOut(Sampler *s);
|
||||
void takeOverFrom(BaseCPU *oldCPU);
|
||||
|
||||
#ifdef FULL_SYSTEM
|
||||
|
@ -169,7 +169,7 @@ class SimpleCPU : public BaseCPU
|
|||
// 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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue