gem5
|
Event type configuration. More...
#include <pmu.hh>
Public Member Functions | |
EventType (SimObject *_obj, const std::string &_name) | |
std::unique_ptr< ProbeListener > | create (PMU &pmu, CounterId cid) const |
Create and attach a probe used to drive this event. More... | |
Public Attributes | |
SimObject *const | obj |
SimObject being measured by this probe. More... | |
const std::string | name |
Probe name within obj. More... | |
Private Member Functions | |
EventType () | |
Event type configuration.
The main purpose of this class is to describe how a PMU event type is sampled. It is implemented as a probe factory that returns a probe attached to the object the event is mointoring.
|
inline |
|
private |
|
inline |
Create and attach a probe used to drive this event.
Definition at line 305 of file pmu.hh.
References SimObject::getProbeManager(), and name.
Referenced by ArmISA::PMU::updateCounter().
const std::string ArmISA::PMU::EventType::name |
Probe name within obj.
Definition at line 316 of file pmu.hh.
Referenced by create(), and ArmISA::PMU::updateCounter().
SimObject* const ArmISA::PMU::EventType::obj |
SimObject being measured by this probe.
Definition at line 314 of file pmu.hh.
Referenced by ArmISA::PMU::updateCounter().