This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / gprof / hist.h
1 #ifndef hist_h
2 #define hist_h
3
4 #include "bfd.h"
5
6 extern bfd_vma s_lowpc;         /* lowpc from the profile file */
7 extern bfd_vma s_highpc;        /* highpc from the profile file */
8 extern bfd_vma lowpc, highpc;   /* range profiled, in UNIT's */
9 extern int hist_num_bins;       /* number of histogram bins */
10 extern int *hist_sample;        /* code histogram */
11 /*
12  * Scale factor converting samples to pc values: each sample covers
13  * HIST_SCALE bytes:
14  */
15 extern double hist_scale;
16
17
18 extern void hist_read_rec PARAMS ((FILE * ifp, const char *filename));
19 extern void hist_write_hist PARAMS ((FILE * ofp, const char *filename));
20 extern void hist_assign_samples PARAMS ((void));
21 extern void hist_print PARAMS ((void));
22
23 #endif /* hist_h */