gem5 v24.0.0.0
|
#include <pmu.hh>
Classes | |
struct | RegularProbe |
Public Types | |
typedef std::pair< SimObject *, std::string > | EventTypeEntry |
Public Member Functions | |
void | addMicroarchitectureProbe (SimObject *object, std::string name) |
Public Member Functions inherited from gem5::ArmISA::PMU::PMUEvent | |
PMUEvent () | |
virtual | ~PMUEvent () |
void | attachEvent (PMU::CounterState *user) |
attach this event to a given counter | |
void | detachEvent (PMU::CounterState *user) |
detach this event from a given counter | |
virtual void | increment (const uint64_t val) |
notify an event increment of val units, all the attached counters' value is incremented by val units. | |
virtual void | updateAttachedCounters () |
Method called immediately before a counter access in order for the associated event to update its state (if required) | |
Protected Member Functions | |
void | enable () override |
Enable the current event. | |
void | disable () override |
Disable the current event. | |
Protected Attributes | |
std::set< EventTypeEntry > | microArchitectureEventSet |
The set of events driving the event value. | |
std::vector< std::unique_ptr< RegularProbe > > | attachedProbePointList |
Set of probe listeners tapping onto each of the input micro-arch events which compose this pmu event. | |
Protected Attributes inherited from gem5::ArmISA::PMU::PMUEvent | |
std::set< PMU::CounterState * > | userCounters |
set of counters using this event | |
typedef std::pair<SimObject*, std::string> gem5::ArmISA::PMU::RegularEvent::EventTypeEntry |
|
inline |
Definition at line 351 of file pmu.hh.
References microArchitectureEventSet, gem5::Named::name(), and panic_if.
|
overrideprotectedvirtual |
Disable the current event.
Implements gem5::ArmISA::PMU::PMUEvent.
|
overrideprotectedvirtual |
Enable the current event.
Implements gem5::ArmISA::PMU::PMUEvent.
|
protected |
|
protected |
The set of events driving the event value.
Definition at line 377 of file pmu.hh.
Referenced by addMicroarchitectureProbe().