73c2c4b589f5492d5724380c2357502a97dbd286
8 * Arc structure for call-graph.
10 * With pointers to the symbols of the parent and the child, a count
11 * of how many times this arc was traversed, and pointers to the next
12 * parent of this child and the next child of this parent.
15 Sym
*parent
; /* source vertice of arc */
16 Sym
*child
; /* dest vertice of arc */
17 int count
; /* # of calls from parent to child */
18 double time
; /* time inherited along arc */
19 double child_time
; /* child-time inherited along arc */
20 struct arc
*next_parent
; /* next parent of CHILD */
21 struct arc
*next_child
; /* next child of PARENT */
24 extern int num_cycles
; /* number of cycles discovered */
25 extern Sym
*cycle_header
; /* cycle headers */
27 extern void arc_add
PARAMS((Sym
*parent
, Sym
*child
, int count
));
28 extern Arc
*arc_lookup
PARAMS((Sym
*parent
, Sym
*child
));
29 extern Sym
**cg_assemble
PARAMS((void));
31 #endif /* cg_arcs_h */