aboutsummaryrefslogtreecommitdiff
path: root/gprof/hertz.h
blob: d5a23d3224a978434061226a66c08a2bb527b324 (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 */