gem5  v20.1.0.0
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ArmISA::PMU::RegularEvent Struct Reference

#include <pmu.hh>

Inheritance diagram for ArmISA::PMU::RegularEvent:
ArmISA::PMU::PMUEvent

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 ArmISA::PMU::PMUEvent
 PMUEvent ()
 
virtual ~PMUEvent ()
 
void attachEvent (PMU::CounterState *user)
 attach this event to a given counter More...
 
void detachEvent (PMU::CounterState *user)
 detach this event from a given counter More...
 
virtual void increment (const uint64_t val)
 notify an event increment of val units, all the attached counters' value is incremented by val units. More...
 
virtual void updateAttachedCounters ()
 Method called immediately before a counter access in order for the associated event to update its state (if required) More...
 

Protected Member Functions

void enable () override
 Enable the current event. More...
 
void disable () override
 Disable the current event. More...
 

Protected Attributes

std::set< EventTypeEntrymicroArchitectureEventSet
 The set of events driving the event value. More...
 
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. More...
 
- Protected Attributes inherited from ArmISA::PMU::PMUEvent
std::set< PMU::CounterState * > userCounters
 set of counters using this event
More...
 

Detailed Description

Definition at line 343 of file pmu.hh.

Member Typedef Documentation

◆ EventTypeEntry

Definition at line 344 of file pmu.hh.

Member Function Documentation

◆ addMicroarchitectureProbe()

void ArmISA::PMU::RegularEvent::addMicroarchitectureProbe ( SimObject object,
std::string  name 
)
inline

Definition at line 346 of file pmu.hh.

References microArchitectureEventSet, SimObject::name(), and panic_if.

◆ disable()

void ArmISA::PMU::RegularEvent::disable ( )
overrideprotectedvirtual

Disable the current event.

Implements ArmISA::PMU::PMUEvent.

Definition at line 484 of file pmu.cc.

◆ enable()

void ArmISA::PMU::RegularEvent::enable ( )
overrideprotectedvirtual

Enable the current event.

Implements ArmISA::PMU::PMUEvent.

Definition at line 475 of file pmu.cc.

Member Data Documentation

◆ attachedProbePointList

std::vector<std::unique_ptr<RegularProbe> > ArmISA::PMU::RegularEvent::attachedProbePointList
protected

Set of probe listeners tapping onto each of the input micro-arch events which compose this pmu event.

Definition at line 377 of file pmu.hh.

◆ microArchitectureEventSet

std::set<EventTypeEntry> ArmISA::PMU::RegularEvent::microArchitectureEventSet
protected

The set of events driving the event value.

Definition at line 372 of file pmu.hh.

Referenced by addMicroarchitectureProbe().


The documentation for this struct was generated from the following files:

Generated on Wed Sep 30 2020 14:02:36 for gem5 by doxygen 1.8.17