HPCToolkit
blame-shift.h
Go to the documentation of this file.
1 #ifndef blame_shift_h
2 #define blame_shift_h
3 
4 #include <cct/cct.h>
5 
6 typedef void (*bs_fn_t)(void* arg, int metric_id, cct_node_t* node, int metric_incr);
7 
8 typedef struct bs_fn_entry_t {
9  struct bs_fn_entry_t* next;
11  void* arg;
13 
14 typedef enum bs_type{
17 } bs_type;
18 
19 
21 void blame_shift_apply(int metric_id, cct_node_t* node, int metric_incr);
24 
25 #endif
void blame_shift_source_register(bs_type bst)
Definition: blame-shift.c:25
struct bs_fn_entry_t * next
Definition: blame-shift.h:9
cct_node_t * node
Definition: cct.c:128
Definition: blame-shift.h:8
void * arg
Definition: blame-shift.h:11
void(* bs_fn_t)(void *arg, int metric_id, cct_node_t *node, int metric_incr)
Definition: blame-shift.h:6
void blame_shift_apply(int metric_id, cct_node_t *node, int metric_incr)
Definition: blame-shift.c:15
bs_fn_t fn
Definition: blame-shift.h:10
int blame_shift_source_available(bs_type bst)
Definition: blame-shift.c:32
Definition: cct.c:96
void blame_shift_register(bs_fn_entry_t *entry)
Definition: blame-shift.c:8
struct bs_fn_entry_t bs_fn_entry_t
bs_type
Definition: blame-shift.h:14