23 #include "bgpm/include/bgpm.h" 28 #define STRINGIFY(x) #x 29 #define TOSTRING(x) STRINGIFY(x) 30 #define _AT_ __FILE__ ":" TOSTRING(__LINE__) 34 #define MAX_COUNTERS ( PEVT_LAST_EVENT + 1 ) int _common_deleteRecreate(int *EventGroup_ptr)
Return codes and api definitions.
int _check_BGPM_error(int err, char *bgpmfunc)
long_long _common_getEventValue(unsigned event_id, int EventGroup)
int _common_set_overflow_BGPM(int EventGroup, int evt_idx, int threshold, void(*handler)(int, uint64_t, uint64_t, const ucontext_t *))
void handler(int EventSet, void *address, long long overflow_vector, void *context)
int _papi_hwi_publish_error(char *error)
int _common_rebuildEventgroup(int count, int *EventGroup_local, int *EventGroup_ptr)