LIKWID
Public Attributes | List of all members
PerfmonCounter Struct Reference

Structure describing performance monitoring counter data. More...

#include <perfmon_types.h>

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

Public Attributes

uint64_t counterData
 Intermediate data from the counters.
 
double fullResult
 Aggregated measurement result.
 
int id
 Offset in higher level control register, e.g. position of enable bit.
 
int init
 Flag if corresponding control register is set up properly.
 
double lastResult
 Last measurement result.
 
int overflows
 Amount of overflows.
 
uint64_t startData
 Start data from the counter.
 
- 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 describing performance monitoring counter data.

Each event holds one of these structures for each thread to store the counter data, if it is configured and the amount of happened overflows.


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