| 1 | #ifndef basic_blocks_h |
| 2 | #define basic_blocks_h |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | #include "gprof.h" |
| 6 | #include "source.h" |
| 7 | #include "symtab.h" |
| 8 | |
| 9 | /* |
| 10 | * Options: |
| 11 | */ |
| 12 | extern bool bb_annotate_all_lines; /* force annotation of all lines? */ |
| 13 | extern int bb_table_length; /* length of most-used bb table */ |
| 14 | extern int bb_min_calls; /* minimum execution count */ |
| 15 | |
| 16 | extern void bb_read_rec PARAMS ((FILE * ifp, const char *filename)); |
| 17 | extern void bb_write_blocks PARAMS ((FILE * ofp, const char *filename)); |
| 18 | extern void bb_create_syms PARAMS ((void)); |
| 19 | |
| 20 | extern void print_annotated_source PARAMS ((void)); |
| 21 | extern void print_exec_counts PARAMS ((void)); |
| 22 | |
| 23 | #endif /* basic_blocks_h */ |