PAPI 7.1.0.0
Loading...
Searching...
No Matches
pfm_pmu_support_t Struct Reference

#include <pfmlib_priv.h>

Data Fields

char * pmu_name
 
int pmu_type
 
unsigned int pme_count
 
unsigned int pmd_count
 
unsigned int pmc_count
 
unsigned int num_cnt
 
unsigned int flags
 
int(* get_event_code )(unsigned int i, unsigned int cnt, int *code)
 
int(* get_event_mask_code )(unsigned int i, unsigned int mask_idx, unsigned int *code)
 
char *(* get_event_name )(unsigned int i)
 
char *(* get_event_mask_name )(unsigned int event_idx, unsigned int mask_idx)
 
void(* get_event_counters )(unsigned int i, pfmlib_regmask_t *counters)
 
unsigned int(* get_num_event_masks )(unsigned int event_idx)
 
int(* dispatch_events )(pfmlib_input_param_t *p, void *model_in, pfmlib_output_param_t *q, void *model_out)
 
int(* pmu_detect )(void)
 
int(* pmu_init )(void)
 
void(* get_impl_pmcs )(pfmlib_regmask_t *impl_pmcs)
 
void(* get_impl_pmds )(pfmlib_regmask_t *impl_pmds)
 
void(* get_impl_counters )(pfmlib_regmask_t *impl_counters)
 
void(* get_hw_counter_width )(unsigned int *width)
 
int(* get_event_desc )(unsigned int i, char **buf)
 
int(* get_event_mask_desc )(unsigned int event_idx, unsigned int mask_idx, char **buf)
 
int(* get_cycle_event )(pfmlib_event_t *e)
 
int(* get_inst_retired_event )(pfmlib_event_t *e)
 
int(* has_umask_default )(unsigned int i)
 

Detailed Description

Definition at line 32 of file pfmlib_priv.h.

Field Documentation

◆ dispatch_events

int(* pfm_pmu_support_t::dispatch_events) (pfmlib_input_param_t *p, void *model_in, pfmlib_output_param_t *q, void *model_out)

Definition at line 46 of file pfmlib_priv.h.

◆ flags

unsigned int pfm_pmu_support_t::flags

Definition at line 39 of file pfmlib_priv.h.

◆ get_cycle_event

int(* pfm_pmu_support_t::get_cycle_event) (pfmlib_event_t *e)

Definition at line 55 of file pfmlib_priv.h.

◆ get_event_code

int(* pfm_pmu_support_t::get_event_code) (unsigned int i, unsigned int cnt, int *code)

Definition at line 40 of file pfmlib_priv.h.

◆ get_event_counters

void(* pfm_pmu_support_t::get_event_counters) (unsigned int i, pfmlib_regmask_t *counters)

Definition at line 44 of file pfmlib_priv.h.

◆ get_event_desc

int(* pfm_pmu_support_t::get_event_desc) (unsigned int i, char **buf)

Definition at line 53 of file pfmlib_priv.h.

◆ get_event_mask_code

int(* pfm_pmu_support_t::get_event_mask_code) (unsigned int i, unsigned int mask_idx, unsigned int *code)

Definition at line 41 of file pfmlib_priv.h.

◆ get_event_mask_desc

int(* pfm_pmu_support_t::get_event_mask_desc) (unsigned int event_idx, unsigned int mask_idx, char **buf)

Definition at line 54 of file pfmlib_priv.h.

◆ get_event_mask_name

char *(* pfm_pmu_support_t::get_event_mask_name) (unsigned int event_idx, unsigned int mask_idx)

Definition at line 43 of file pfmlib_priv.h.

◆ get_event_name

char *(* pfm_pmu_support_t::get_event_name) (unsigned int i)

Definition at line 42 of file pfmlib_priv.h.

◆ get_hw_counter_width

void(* pfm_pmu_support_t::get_hw_counter_width) (unsigned int *width)

Definition at line 52 of file pfmlib_priv.h.

◆ get_impl_counters

void(* pfm_pmu_support_t::get_impl_counters) (pfmlib_regmask_t *impl_counters)

Definition at line 51 of file pfmlib_priv.h.

◆ get_impl_pmcs

void(* pfm_pmu_support_t::get_impl_pmcs) (pfmlib_regmask_t *impl_pmcs)

Definition at line 49 of file pfmlib_priv.h.

◆ get_impl_pmds

void(* pfm_pmu_support_t::get_impl_pmds) (pfmlib_regmask_t *impl_pmds)

Definition at line 50 of file pfmlib_priv.h.

◆ get_inst_retired_event

int(* pfm_pmu_support_t::get_inst_retired_event) (pfmlib_event_t *e)

Definition at line 56 of file pfmlib_priv.h.

◆ get_num_event_masks

unsigned int(* pfm_pmu_support_t::get_num_event_masks) (unsigned int event_idx)

Definition at line 45 of file pfmlib_priv.h.

◆ has_umask_default

int(* pfm_pmu_support_t::has_umask_default) (unsigned int i)

Definition at line 57 of file pfmlib_priv.h.

◆ num_cnt

unsigned int pfm_pmu_support_t::num_cnt

Definition at line 38 of file pfmlib_priv.h.

◆ pmc_count

unsigned int pfm_pmu_support_t::pmc_count

Definition at line 37 of file pfmlib_priv.h.

◆ pmd_count

unsigned int pfm_pmu_support_t::pmd_count

Definition at line 36 of file pfmlib_priv.h.

◆ pme_count

unsigned int pfm_pmu_support_t::pme_count

Definition at line 35 of file pfmlib_priv.h.

◆ pmu_detect

int(* pfm_pmu_support_t::pmu_detect) (void)

Definition at line 47 of file pfmlib_priv.h.

◆ pmu_init

int(* pfm_pmu_support_t::pmu_init) (void)

Definition at line 48 of file pfmlib_priv.h.

◆ pmu_name

char* pfm_pmu_support_t::pmu_name

Definition at line 33 of file pfmlib_priv.h.

◆ pmu_type

int pfm_pmu_support_t::pmu_type

Definition at line 34 of file pfmlib_priv.h.


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