PAPI  5.3.2.0
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
papi_user_events.h
Go to the documentation of this file.
1 #ifndef _PAPI_USER_EVENTS_H
2 #define _PAPI_USER_EVENTS_H
3 
4 #include "papi_internal.h"
5 
6 #define PAPI_UE_AND_MASK 0x3FFFFFFF
7 #define PAPI_UE_MASK ((int)0xC0000000)
8 
9 #define USER_EVENT_OPERATION_LEN 512
10 
11 extern int _papi_user_defined_events_setup(char *);
12 extern void _papi_cleanup_user_events();
13 
14 typedef struct {
15  unsigned int count;
17  char operation[USER_EVENT_OPERATION_LEN];
18  char symbol[PAPI_MIN_STR_LEN];
19  char *short_desc;
20  char *long_desc;
22 
24 extern unsigned int _papi_user_events_count;
25 
26 #endif // _PAPI_USER_EVENTS_H
#define PAPI_EVENTS_IN_DERIVED_EVENT
Definition: genpapifdef.c:39
#define PAPI_MIN_STR_LEN
Definition: fpapi.h:41
int _papi_user_defined_events_setup(char *name)
void _papi_cleanup_user_events()
#define USER_EVENT_OPERATION_LEN
char events[MAX_EVENTS][BUFSIZ]
user_defined_event_t * _papi_user_events
unsigned int _papi_user_events_count