2001-05-28 Philip Blundell <philb@gnu.org>
[binutils.git] / gprof / basic_blocks.h
blobb6210aa84f763c36c93acd97dc000aa8e87a47a0
1 /* basic_blocks.h
2 Copyright (C) 2000 Free Software Foundation, Inc.
4 This file is part of GNU Binutils.
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
20 #ifndef basic_blocks_h
21 #define basic_blocks_h
23 #include <stdio.h>
24 #include "gprof.h"
25 #include "source.h"
26 #include "symtab.h"
28 /* Options: */
29 extern bool bb_annotate_all_lines; /* Force annotation of all lines? */
30 extern int bb_table_length; /* Length of most-used bb table. */
31 extern unsigned long bb_min_calls; /* Minimum execution count. */
33 extern void bb_read_rec PARAMS ((FILE *, const char *));
34 extern void bb_write_blocks PARAMS ((FILE *, const char *));
35 extern void bb_create_syms PARAMS ((void));
36 extern void print_annotated_source PARAMS ((void));
37 extern void print_exec_counts PARAMS ((void));
38 #endif /* basic_blocks_h */