LIKWID
Public Attributes | List of all members
PerfmonEventOption Struct Reference

Structure specifying event/counter options and their value. More...

#include <perfmon_types.h>

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

Public Attributes

EventOptionType type
 Type of the option.
 
uint64_t value
 Value of the option.
 
- Public Attributes inherited from PerfmonEvent
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 event/counter options and their value.

Most options set a bitfield in registers and their values are stored in this structure. If an option is a binary option, the value is set to 1.


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