HPCToolkit
|
#include <linux/version.h>
#include <hpcrun/messages/messages.h>
#include "sample-sources/perf/perf_event_open.h"
#include "sample-sources/perf/perf-util.h"
#include "sample-sources/perf/perf_skid.h"
#include "sample-sources/perf/perfmon-util.h"
#include "sample-sources/perf/event_custom.h"
#include "datacentric.h"
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 [] |
#define EVNAME_POWER_DL4 "PM_MRK_DATA_FROM_DL4" |
Definition at line 61 of file pmu_power.c.
#define EVNAME_POWER_LMEM "PM_MRK_DATA_FROM_LMEM" |
Definition at line 62 of file pmu_power.c.
#define EVNAME_POWER_RMRM "PM_MRK_DATA_FROM_RMEM" |
Definition at line 60 of file pmu_power.c.
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.
int datacentric_hw_register | ( | sample_source_t * | self, |
event_custom_t * | event, | ||
struct event_threshold_s * | period | ||
) |
|
static |
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.