diff options
Diffstat (limited to 'gprof/basic_blocks.h')
-rw-r--r-- | gprof/basic_blocks.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gprof/basic_blocks.h b/gprof/basic_blocks.h new file mode 100644 index 0000000..0e7070c --- /dev/null +++ b/gprof/basic_blocks.h @@ -0,0 +1,23 @@ +#ifndef basic_blocks_h +#define basic_blocks_h + +#include <stdio.h> +#include "gprof.h" +#include "source.h" +#include "symtab.h" + +/* + * Options: + */ +extern bool bb_annotate_all_lines; /* force annotation of all lines? */ +extern int bb_table_length; /* length of most-used bb table */ +extern int bb_min_calls; /* minimum execution count */ + +extern void bb_read_rec PARAMS((FILE *ifp, const char *filename)); +extern void bb_write_blocks PARAMS((FILE *ofp, const char *filename)); +extern void bb_create_syms PARAMS((void)); + +extern void print_annotated_source PARAMS((void)); +extern void print_exec_counts PARAMS((void)); + +#endif /* basic_blocks_h */ |