Initial revision
[binutils.git] / gprof / hist.h
blobdf62ef770f418840bb5b9bd67545872b785a1d80
1 #ifndef hist_h
2 #define hist_h
4 #include "bfd.h"
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 */
12 * Scale factor converting samples to pc values: each sample covers
13 * HIST_SCALE bytes:
15 extern double hist_scale;
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));
23 #endif /* hist_h */