PAPI 7.1.0.0
Loading...
Searching...
No Matches
papi_preset.h
Go to the documentation of this file.
1
7#ifndef _PAPI_PRESET /* _PAPI_PRESET */
8#define _PAPI_PRESET
9
12typedef struct hwi_search {
13 /* eventcode should have a more specific name, like papi_preset! -pjm */
14 unsigned int event_code;
15 int derived;
17 char operation[PAPI_2MAX_STR_LEN];
18 char *note;
20
23typedef struct hwi_presets {
24 char *symbol;
26 char *long_descr;
29 unsigned int count;
30 unsigned int event_type;
31 char *postfix;
32 unsigned int code[PAPI_MAX_INFO_TERMS];
34 char *note;
36
37
40typedef struct hwi_describe {
41 int value;
42 char *name;
43 char *descr;
45
47
51int _papi_load_preset_table( char *name, int type, int cidx );
52
54
55#endif /* _PAPI_PRESET */
#define PAPI_2MAX_STR_LEN
Definition: f90papi.h:180
#define PAPI_MAX_INFO_TERMS
Definition: f90papi.h:147
uint16_t type
#define PAPI_MAX_PRESET_EVENTS
#define PAPI_EVENTS_IN_DERIVED_EVENT
int _xml_papi_hwi_setup_all_presets(char *arch)
int _papi_hwi_cleanup_all_presets(void)
Definition: papi_preset.c:114
int _papi_hwi_setup_all_presets(hwi_search_t *findem, int cidx)
Definition: papi_preset.c:44
int _papi_load_preset_table(char *name, int type, int cidx)
Definition: papi_preset.c:771
hwi_presets_t _papi_hwi_presets[PAPI_MAX_PRESET_EVENTS]
hwi_search_t * preset_search_map
static int native
static int cidx
const char * name
Definition: rocs.c:225
char * symbol
Definition: papi_preset.h:24
unsigned int count
Definition: papi_preset.h:29
char * postfix
Definition: papi_preset.h:31
unsigned int event_type
Definition: papi_preset.h:30
char * short_descr
Definition: papi_preset.h:25
char * long_descr
Definition: papi_preset.h:26
unsigned int event_code
Definition: papi_preset.h:14
char * note
Definition: papi_preset.h:18