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
;
10
bs_fn_t
fn
;
11
void
*
arg
;
12
}
bs_fn_entry_t
;
13
14
typedef
enum
bs_type
{
15
bs_type_timer
,
16
bs_type_cycles
17
}
bs_type
;
18
19
20
void
blame_shift_register
(
bs_fn_entry_t
* entry);
21
void
blame_shift_apply
(
int
metric_id,
cct_node_t
*
node
,
int
metric_incr);
22
void
blame_shift_source_register
(
bs_type
bst);
23
int
blame_shift_source_available
(
bs_type
bst);
24
25
#endif
blame_shift_source_register
void blame_shift_source_register(bs_type bst)
Definition:
blame-shift.c:25
bs_fn_entry_t::next
struct bs_fn_entry_t * next
Definition:
blame-shift.h:9
bs_type_cycles
Definition:
blame-shift.h:16
node
cct_node_t * node
Definition:
cct.c:128
bs_fn_entry_t
Definition:
blame-shift.h:8
bs_fn_entry_t::arg
void * arg
Definition:
blame-shift.h:11
bs_fn_t
void(* bs_fn_t)(void *arg, int metric_id, cct_node_t *node, int metric_incr)
Definition:
blame-shift.h:6
blame_shift_apply
void blame_shift_apply(int metric_id, cct_node_t *node, int metric_incr)
Definition:
blame-shift.c:15
bs_fn_entry_t::fn
bs_fn_t fn
Definition:
blame-shift.h:10
blame_shift_source_available
int blame_shift_source_available(bs_type bst)
Definition:
blame-shift.c:32
cct.h
bs_type_timer
Definition:
blame-shift.h:15
cct_node_t
Definition:
cct.c:96
blame_shift_register
void blame_shift_register(bs_fn_entry_t *entry)
Definition:
blame-shift.c:8
bs_fn_entry_t
struct bs_fn_entry_t bs_fn_entry_t
bs_type
bs_type
Definition:
blame-shift.h:14
src
tool
hpcrun
sample-sources
blame-shift
blame-shift.h
Generated by
1.8.13