12#if defined(API_PERFWORKS)
16#if defined(API_EVENTS)
25#if defined(API_PERFWORKS)
34#if defined(API_EVENTS)
61#if defined(API_PERFWORKS)
71#if defined(API_EVENTS)
100#if defined(API_PERFWORKS)
106#if defined (API_EVENTS)
118#if defined(API_PERFWORKS)
124#if defined(API_EVENTS)
136#if defined(API_PERFWORKS)
142#if defined(API_EVENTS)
154#if defined(API_PERFWORKS)
160#if defined(API_EVENTS)
172#if defined(API_PERFWORKS)
178#if defined(API_EVENTS)
190#if defined(API_PERFWORKS)
196#if defined(API_EVENTS)
208#if defined(API_PERFWORKS)
214#if defined(API_EVENTS)
226#if defined(API_PERFWORKS)
232#if defined(API_EVENTS)
static const char * event_names[2]
void cuptic_disabled_reason_set(const char *msg)
int cuptic_is_runtime_perfworks_api(void)
void cuptic_disabled_reason_get(const char **pmsg)
int cuptic_ctxarr_create(cuptic_info_t *pinfo)
int cuptic_ctxarr_destroy(cuptic_info_t *pinfo)
int cuptic_is_runtime_events_api(void)
int cuptic_shutdown(void)
int cuptid_event_table_create(ntv_event_table_t *evt_table)
int cuptid_event_enum(cuptiu_event_table_t *all_evt_names)
int cuptid_event_table_insert_record(ntv_event_table_t evt_table, const char *evt_name, unsigned int evt_code, int evt_pos)
int cuptid_control_create(ntv_event_table_t event_names, cuptid_info_t info, cuptid_ctl_t *pcupti_ctl)
int cuptid_control_start(cuptid_ctl_t cupti_ctl)
int cuptid_event_table_get_item(ntv_event_table_t evt_table, unsigned int evt_idx, ntv_event_t *record)
int cuptid_control_destroy(cuptid_ctl_t *pcupti_ctl)
int cuptid_control_read(cuptid_ctl_t cupti_ctl, long long *values)
int cuptid_event_table_find_name(ntv_event_table_t evt_table, const char *evt_name, ntv_event_t *found_rec)
int cuptid_event_table_select_by_idx(ntv_event_table_t evt_table, int count, int *idcs, ntv_event_table_t *pevt_names)
void cuptid_event_table_destroy(ntv_event_table_t *evt_table)
int cuptid_shutdown(void)
int cuptid_event_name_to_descr(char *evt_name, char *descr)
int cuptid_control_reset(cuptid_ctl_t cupti_ctl)
int cuptid_thread_info_destroy(cuptid_info_t *info)
int cuptid_control_stop(cuptid_ctl_t cupti_ctl)
int cuptid_thread_info_create(cuptid_info_t *info)
void cuptid_disabled_reason_get(const char **msg)
int cuptie_control_destroy(cuptie_control_t *pctl)
int cuptie_event_name_to_descr(const char *evt_name, char *description)
int cuptie_shutdown(void)
int cuptie_control_read(cuptie_control_t ctl, long long *values)
int cuptie_control_reset(cuptie_control_t ctl)
int cuptie_control_create(cuptiu_event_table_t *event_names, void *thr_info, cuptie_control_t *pctl)
int cuptie_control_start(cuptie_control_t ctl)
int cuptie_event_enum(cuptiu_event_table_t *all_evt_names)
int cuptie_control_stop(cuptie_control_t ctl)
int cuptip_control_reset(cuptip_control_t state)
int cuptip_control_read(cuptip_control_t state, long long *values)
int cuptip_event_enum(cuptiu_event_table_t *all_evt_names)
int cuptip_control_create(cuptiu_event_table_t *event_names, cuptic_info_t thr_info, cuptip_control_t *pstate)
int cuptip_control_stop(cuptip_control_t state)
int cuptip_control_start(cuptip_control_t state)
int cuptip_event_name_to_descr(const char *evt_name, char *description)
int cuptip_control_destroy(cuptip_control_t *pstate)
int cuptip_shutdown(void)
void cuptiu_event_table_destroy(cuptiu_event_table_t **pevt_table)
int cuptiu_event_table_get_item(cuptiu_event_table_t *evt_table, int evt_idx, cuptiu_event_t **record)
int cuptiu_event_table_select_by_idx(cuptiu_event_table_t *src, int count, int *idcs, cuptiu_event_table_t **pevt_names)
int cuptiu_event_table_insert_record(cuptiu_event_table_t *evt_table, const char *evt_name, unsigned int evt_code, int evt_pos)
int cuptiu_event_table_find_name(cuptiu_event_table_t *evt_table, const char *evt_name, cuptiu_event_t **found_rec)
int cuptiu_event_table_create(int sizeof_rec, cuptiu_event_table_t **pevt_table)
char * evt_name(evstock *stock, int index)
static long long values[NUM_EVENTS]