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

#include "gprof.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 PARAMS ((void));

#endif /* hertz_h */
OpenPOWER on IntegriCloud