HPCToolkit
common.h File Reference
Include dependency graph for common.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define HPCRUN_PAPI_ERROR_UNAVAIL   1
 
#define HPCRUN_PAPI_ERROR_VERSION   2
 

Functions

void METHOD_FN (hpcrun_ss_add_event, const char *ev)
 
void METHOD_FN (hpcrun_ss_store_event, int event_id, long thresh)
 
int METHOD_FN (hpcrun_ss_store_event_and_info, int event_id, long thresh, int metric_id, void *info)
 
void METHOD_FN (hpcrun_ss_store_metric_id, int event_id, int metric_id)
 
char * METHOD_FN (hpcrun_ss_get_event_str)
 
bool METHOD_FN (hpcrun_ss_started)
 
int hpcrun_event2metric (sample_source_t *ss, int event_idx)
 
void hpcrun_ssfail_none (void)
 
void hpcrun_ssfail_unknown (char *event)
 
void hpcrun_ssfail_unsupported (char *source, char *event)
 
void hpcrun_ssfail_derived (char *source, char *event)
 
void hpcrun_ssfail_all_derived (char *source)
 
void hpcrun_ssfail_conflict (char *source, char *event)
 
void hpcrun_ssfail_start (char *source)
 
void hpcrun_save_papi_error (int error)
 

Macro Definition Documentation

◆ HPCRUN_PAPI_ERROR_UNAVAIL

#define HPCRUN_PAPI_ERROR_UNAVAIL   1

Definition at line 52 of file common.h.

◆ HPCRUN_PAPI_ERROR_VERSION

#define HPCRUN_PAPI_ERROR_VERSION   2

Definition at line 53 of file common.h.

Function Documentation

◆ hpcrun_event2metric()

int hpcrun_event2metric ( sample_source_t ss,
int  event_idx 
)

Definition at line 143 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_save_papi_error()

void hpcrun_save_papi_error ( int  error)

Definition at line 184 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_ssfail_all_derived()

void hpcrun_ssfail_all_derived ( char *  source)

Definition at line 246 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_ssfail_conflict()

void hpcrun_ssfail_conflict ( char *  source,
char *  event 
)

Definition at line 255 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_ssfail_derived()

void hpcrun_ssfail_derived ( char *  source,
char *  event 
)

Definition at line 238 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_ssfail_none()

void hpcrun_ssfail_none ( void  )

Definition at line 209 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_ssfail_start()

void hpcrun_ssfail_start ( char *  source)

Definition at line 265 of file common.c.

Here is the caller graph for this function:

◆ hpcrun_ssfail_unknown()

void hpcrun_ssfail_unknown ( char *  event)

Definition at line 220 of file common.c.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hpcrun_ssfail_unsupported()

void hpcrun_ssfail_unsupported ( char *  source,
char *  event 
)

Definition at line 230 of file common.c.

Here is the caller graph for this function:

◆ METHOD_FN() [1/6]

void METHOD_FN ( hpcrun_ss_add_event  ,
const char *  ev 
)

◆ METHOD_FN() [2/6]

void METHOD_FN ( hpcrun_ss_store_event  ,
int  event_id,
long  thresh 
)

◆ METHOD_FN() [3/6]

int METHOD_FN ( hpcrun_ss_store_event_and_info  ,
int  event_id,
long  thresh,
int  metric_id,
void *  info 
)

◆ METHOD_FN() [4/6]

void METHOD_FN ( hpcrun_ss_store_metric_id  ,
int  event_id,
int  metric_id 
)

◆ METHOD_FN() [5/6]

char* METHOD_FN ( hpcrun_ss_get_event_str  )

◆ METHOD_FN() [6/6]

bool METHOD_FN ( hpcrun_ss_started  )