summaryrefslogtreecommitdiff
path: root/gprof/hertz.h
blob: d3be327e4edca822ac24a92321e53c1dd15b7c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef hertz_h
#define hertz_h

#define	HZ_WRONG 0		/* impossible clock frequency */

/*
 * Discover the tick frequency of the machine if something goes wrong,
 * we return HZ_WRONG, an impossible sampling frequency.
 */

extern int hertz (void);

#endif /* hertz_h */