Go to the source code of this file.
◆ _papi_hwi_cleanup_all_presets()
| int _papi_hwi_cleanup_all_presets |
( |
void |
| ) |
|
Definition at line 114 of file papi_preset.c.
116 int preset_index,
cidx;
138 #if defined(ITANIUM2) || defined(ITANIUM3)
#define PAPI_MAX_PRESET_EVENTS
hwi_presets_t _papi_hwi_presets[PAPI_MAX_PRESET_EVENTS]
hwi_search_t * preset_search_map
struct papi_vectors * _papi_hwd[]
◆ _papi_hwi_setup_all_presets()
| int _papi_hwi_setup_all_presets |
( |
hwi_search_t * |
findem, |
|
|
int |
cidx |
|
) |
| |
Definition at line 44 of file papi_preset.c.
46 int i, pnum, did_something = 0;
47 unsigned int preset_index, j, k;
53 if ( findem != NULL ) {
55 ( findem[pnum].event_code != 0 ); pnum++ ) {
74 INTDBG(
"Counting number of terms for preset index %d, " 75 "search map index %d.\n", preset_index, pnum );
88 INTDBG(
"This preset has %d terms.\n", j );
108 _papi_hwd[
cidx]->cmp_info.num_preset_events += did_something;
#define PAPI_EVENTS_IN_DERIVED_EVENT
#define INTDBG(format, args...)
#define PAPI_MAX_PRESET_EVENTS
hwi_presets_t _papi_hwi_presets[PAPI_MAX_PRESET_EVENTS]
int native[PAPI_EVENTS_IN_DERIVED_EVENT]
unsigned int code[PAPI_MAX_INFO_TERMS]
#define PAPI_PRESET_AND_MASK
struct papi_vectors * _papi_hwd[]
◆ _papi_load_preset_table()
| int _papi_load_preset_table |
( |
char * |
name, |
|
|
int |
type, |
|
|
int |
cidx |
|
) |
| |
Definition at line 771 of file papi_preset.c.
772 SUBDBG(
"ENTER: pmu_str: %s, pmu_type: %d, cidx: %d\n", pmu_str, pmu_type,
cidx);
static int papi_load_derived_events(char *pmu_str, int pmu_type, int cidx, int preset_flag)
#define SUBDBG(format, args...)
◆ _xml_papi_hwi_setup_all_presets()
| int _xml_papi_hwi_setup_all_presets |
( |
char * |
arch | ) |
|
◆ _papi_hwi_presets
◆ preset_search_map