PAPI 7.1.0.0
Loading...
Searching...
No Matches
vendor_dispatch.c File Reference
Include dependency graph for vendor_dispatch.c:

Go to the source code of this file.

Functions

int vendord_init_pre (void)
 
int vendord_init (void)
 
int vendord_shutdown (void)
 
int vendord_ctx_open (unsigned int *events_id, int num_events, vendord_ctx_t *ctx)
 
int vendord_ctx_start (vendord_ctx_t ctx)
 
int vendord_ctx_read (vendord_ctx_t ctx, long long **counters)
 
int vendord_ctx_stop (vendord_ctx_t ctx)
 
int vendord_ctx_reset (vendord_ctx_t ctx)
 
int vendord_ctx_close (vendord_ctx_t ctx)
 
int vendord_err_get_last (const char **error)
 
int vendord_evt_enum (unsigned int *event_code, int modifier)
 
int vendord_evt_code_to_name (unsigned int event_code, char *name, int len)
 
int vendord_evt_code_to_descr (unsigned int event_code, char *descr, int len)
 
int vendord_evt_code_to_info (unsigned int event_code, PAPI_event_info_t *info)
 
int vendord_evt_name_to_code (const char *name, unsigned int *event_code)
 

Function Documentation

◆ vendord_ctx_close()

int vendord_ctx_close ( vendord_ctx_t  ctx)

Definition at line 62 of file vendor_dispatch.c.

63{
64 return vendorp1_ctx_close(ctx);
65}
int vendorp1_ctx_close(vendorp_ctx_t ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_ctx_open()

int vendord_ctx_open ( unsigned int events_id,
int  num_events,
vendord_ctx_t *  ctx 
)

Definition at line 32 of file vendor_dispatch.c.

33{
35}
static int num_events
uint64_t * events_id
int vendorp1_ctx_open(unsigned int *events_id, int num_events, vendorp_ctx_t *ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_ctx_read()

int vendord_ctx_read ( vendord_ctx_t  ctx,
long long **  counters 
)

Definition at line 44 of file vendor_dispatch.c.

45{
46 return vendorp1_ctx_read(ctx, counters);
47}
int vendorp1_ctx_read(vendorp_ctx_t ctx, long long **counters)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_ctx_reset()

int vendord_ctx_reset ( vendord_ctx_t  ctx)

Definition at line 56 of file vendor_dispatch.c.

57{
58 return vendorp1_ctx_reset(ctx);
59}
int vendorp1_ctx_reset(vendorp_ctx_t ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_ctx_start()

int vendord_ctx_start ( vendord_ctx_t  ctx)

Definition at line 38 of file vendor_dispatch.c.

39{
40 return vendorp1_ctx_start(ctx);
41}
int vendorp1_ctx_start(vendorp_ctx_t ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_ctx_stop()

int vendord_ctx_stop ( vendord_ctx_t  ctx)

Definition at line 50 of file vendor_dispatch.c.

51{
52 return vendorp1_ctx_stop(ctx);
53}
int vendorp1_ctx_stop(vendorp_ctx_t ctx)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_err_get_last()

int vendord_err_get_last ( const char **  error)

Definition at line 68 of file vendor_dispatch.c.

69{
70 return vendorc_err_get_last(error);
71}
int vendorc_err_get_last(const char **error)
Definition: vendor_common.c:48
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_evt_code_to_descr()

int vendord_evt_code_to_descr ( unsigned int  event_code,
char *  descr,
int  len 
)

Definition at line 86 of file vendor_dispatch.c.

87{
88 return vendorp1_evt_code_to_descr(event_code, descr, len);
89}
int vendorp1_evt_code_to_descr(unsigned int event_code, char *descr, int len)
char * descr
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_evt_code_to_info()

int vendord_evt_code_to_info ( unsigned int  event_code,
PAPI_event_info_t info 
)

Definition at line 92 of file vendor_dispatch.c.

93{
94 return vendorp1_evt_code_to_info(event_code, info);
95}
int vendorp1_evt_code_to_info(unsigned int event_code, PAPI_event_info_t *info)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_evt_code_to_name()

int vendord_evt_code_to_name ( unsigned int  event_code,
char *  name,
int  len 
)

Definition at line 80 of file vendor_dispatch.c.

81{
82 return vendorp1_evt_code_to_name(event_code, name, len);
83}
const char * name
Definition: rocs.c:225
int vendorp1_evt_code_to_name(unsigned int event_code, char *name, int len)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_evt_enum()

int vendord_evt_enum ( unsigned int event_code,
int  modifier 
)

Definition at line 74 of file vendor_dispatch.c.

75{
76 return vendorp1_evt_enum(event_code, modifier);
77}
int vendorp1_evt_enum(unsigned int *event_code, int modifier)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_evt_name_to_code()

int vendord_evt_name_to_code ( const char *  name,
unsigned int event_code 
)

Definition at line 98 of file vendor_dispatch.c.

99{
100 return vendorp1_evt_name_to_code(name, event_code);
101}
int vendorp1_evt_name_to_code(const char *name, unsigned int *event_code)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_init()

int vendord_init ( void  )

Definition at line 12 of file vendor_dispatch.c.

13{
14 int papi_errno = vendorc_init();
15 if (papi_errno != PAPI_OK) {
16 return papi_errno;
17 }
18 return vendorp1_init();
19}
#define PAPI_OK
Definition: f90papi.h:73
int vendorc_init(void)
Definition: vendor_common.c:15
int vendorp1_init(void)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_init_pre()

int vendord_init_pre ( void  )

Definition at line 6 of file vendor_dispatch.c.

7{
8 return vendorp1_init_pre();
9}
int vendorp1_init_pre(void)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ vendord_shutdown()

int vendord_shutdown ( void  )

Definition at line 22 of file vendor_dispatch.c.

23{
24 int papi_errno = vendorp1_shutdown();
25 if (papi_errno != PAPI_OK) {
26 return papi_errno;
27 }
28 return vendorc_shutdown();
29}
int vendorc_shutdown(void)
Definition: vendor_common.c:39
int vendorp1_shutdown(void)
Here is the call graph for this function:
Here is the caller graph for this function: