HPCToolkit
blame-shift.h File Reference
#include <cct/cct.h>
Include dependency graph for blame-shift.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  bs_fn_entry_t
 

Typedefs

typedef void(* bs_fn_t) (void *arg, int metric_id, cct_node_t *node, int metric_incr)
 
typedef struct bs_fn_entry_t bs_fn_entry_t
 
typedef enum bs_type bs_type
 

Enumerations

enum  bs_type { bs_type_timer, bs_type_cycles }
 

Functions

void blame_shift_register (bs_fn_entry_t *entry)
 
void blame_shift_apply (int metric_id, cct_node_t *node, int metric_incr)
 
void blame_shift_source_register (bs_type bst)
 
int blame_shift_source_available (bs_type bst)
 

Typedef Documentation

◆ bs_fn_entry_t

typedef struct bs_fn_entry_t bs_fn_entry_t

◆ bs_fn_t

typedef void(* bs_fn_t) (void *arg, int metric_id, cct_node_t *node, int metric_incr)

Definition at line 6 of file blame-shift.h.

◆ bs_type

typedef enum bs_type bs_type

Enumeration Type Documentation

◆ bs_type

enum bs_type
Enumerator
bs_type_timer 
bs_type_cycles 

Definition at line 14 of file blame-shift.h.

Function Documentation

◆ blame_shift_apply()

void blame_shift_apply ( int  metric_id,
cct_node_t node,
int  metric_incr 
)

Definition at line 15 of file blame-shift.c.

Here is the caller graph for this function:

◆ blame_shift_register()

void blame_shift_register ( bs_fn_entry_t entry)

Definition at line 8 of file blame-shift.c.

Here is the caller graph for this function:

◆ blame_shift_source_available()

int blame_shift_source_available ( bs_type  bst)

Definition at line 32 of file blame-shift.c.

Here is the caller graph for this function:

◆ blame_shift_source_register()

void blame_shift_source_register ( bs_type  bst)

Definition at line 25 of file blame-shift.c.

Here is the caller graph for this function: