LIKWID
Public Attributes | List of all members
PerfmonEvent Struct Reference

Structure specifying an performance monitoring event. More...

#include <perfmon_types.h>

Inheritance diagram for PerfmonEvent:
Inheritance graph
[legend]
Collaboration diagram for PerfmonEvent:
Collaboration graph
[legend]

Public Attributes

uint8_t cfgBits
 Misc configuration bits.
 
uint64_t cmask
 Misc mask bits.
 
uint16_t eventId
 ID of the event.
 
const char * limit
 Valid counters for the event.
 
const char * name
 Name of the event.
 
uint8_t numberOfOptions
 Number of options for the event.
 
uint64_t optionMask
 Bitmask for fast check of set options.
 
PerfmonEventOption options [NUM_EVENT_OPTIONS]
 List of options.
 
uint8_t umask
 Most events need to specify a mask to limit counting.
 
- Public Attributes inherited from PerfmonEventSetEntry
PerfmonEvent event
 Event configuration.
 
RegisterIndex index
 Index of the counter register in the counter map.
 
PerfmonCounterthreadCounter
 List of counter data for each thread, list length is numberOfThreads in PerfmonGroupSet.
 
RegisterType type
 Type of the counter register and event.
 
- Public Attributes inherited from PerfmonEventSet
PerfmonEventSetEntryevents
 List of eventSets.
 
GroupInfo group
 Structure holding the performance group information.
 
int numberOfEvents
 Number of eventSets in events.
 
double rdtscTime
 Evaluation of the Time information in seconds.
 
uint64_t regTypeMask1
 Bitmask1 for easy checks which types are included in the eventSet.
 
uint64_t regTypeMask2
 Bitmask2 for easy checks which types are included in the eventSet.
 
uint64_t regTypeMask3
 Bitmask3 for easy checks which types are included in the eventSet.
 
uint64_t regTypeMask4
 Bitmask4 for easy checks which types are included in the eventSet.
 
double runTime
 Sum of all time information in seconds that the group was running.
 
GroupState state
 Current state of the event group (configured, started, none)
 
TimerData timer
 Time information how long the counters were running.
 
- Public Attributes inherited from PerfmonGroupSet
int activeGroup
 Currently active eventSet.
 
PerfmonEventSetgroups
 List of eventSets.
 
int numberOfActiveGroups
 Amount of added eventSets. Only those eventSets can be accessed in groups.
 
int numberOfGroups
 List length of groups.
 
int numberOfThreads
 Amount of threads in threads.
 
PerfmonThreadthreads
 List of threads.
 

Detailed Description

Structure specifying an performance monitoring event.

This structure holds the configuration data for an event. It groups the name, the allowed counters and internally used values like event ID and masks. Moreover the event options are hold here.


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