aboutsummaryrefslogtreecommitdiff
path: root/gprof/hertz.h
blob: 6708be1ea6602db050c463a81c04520f4e583c04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#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 */