HPCToolkit
Main Page
+
Namespaces
Namespace List
+
Namespace Members
+
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
+
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
w
x
+
Variables
a
b
c
d
e
f
g
i
l
m
n
o
r
s
t
u
v
x
+
Typedefs
a
b
d
f
g
h
i
l
m
n
p
r
s
t
u
w
Enumerations
+
Enumerator
a
c
d
e
f
h
i
m
n
o
p
s
t
u
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Typedefs
a
b
c
i
k
l
m
n
p
r
s
u
v
Enumerations
+
Enumerator
a
b
c
d
f
g
i
l
m
o
p
q
r
s
t
u
w
Related Functions
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
+
Typedefs
_
a
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
x
+
Enumerations
_
a
b
c
d
e
f
i
l
m
n
p
r
s
t
u
v
+
Enumerator
_
a
b
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
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