HPCToolkit
pmu_power.c File Reference
Include dependency graph for pmu_power.c:

Go to the source code of this file.

Macros

#define EVNAME_POWER_RMRM   "PM_MRK_DATA_FROM_RMEM"
 
#define EVNAME_POWER_DL4   "PM_MRK_DATA_FROM_DL4"
 
#define EVNAME_POWER_LMEM   "PM_MRK_DATA_FROM_LMEM"
 

Functions

void datacentric_hw_handler (perf_mmap_data_t *mmap_data, cct_node_t *datacentric_node, cct_node_t *sample_node)
 
int datacentric_hw_register (sample_source_t *self, event_custom_t *event, struct event_threshold_s *period)
 

Variables

static const char * evnames []
 

Macro Definition Documentation

◆ EVNAME_POWER_DL4

#define EVNAME_POWER_DL4   "PM_MRK_DATA_FROM_DL4"

Definition at line 61 of file pmu_power.c.

◆ EVNAME_POWER_LMEM

#define EVNAME_POWER_LMEM   "PM_MRK_DATA_FROM_LMEM"

Definition at line 62 of file pmu_power.c.

◆ EVNAME_POWER_RMRM

#define EVNAME_POWER_RMRM   "PM_MRK_DATA_FROM_RMEM"

Definition at line 60 of file pmu_power.c.

Function Documentation

◆ datacentric_hw_handler()

void datacentric_hw_handler ( perf_mmap_data_t *  mmap_data,
cct_node_t *  datacentric_node,
cct_node_t *  sample_node 
)

Definition at line 79 of file pmu_power.c.

◆ datacentric_hw_register()

int datacentric_hw_register ( sample_source_t *  self,
event_custom_t *  event,
struct event_threshold_s *  period 
)

Definition at line 85 of file pmu_power.c.

Here is the call graph for this function:

Variable Documentation

◆ evnames

const char* evnames[]
static
Initial value:
= {
}
#define EVNAME_POWER_RMRM
Definition: pmu_power.c:60
#define EVNAME_POWER_LMEM
Definition: pmu_power.c:62
#define EVNAME_POWER_DL4
Definition: pmu_power.c:61

attention: the order of the array is very important. It has to start from event from the latest architecture to the old one, since sometimes newer architecture still keep compatibility with the old ones.

Definition at line 71 of file pmu_power.c.