* mild gx prototype tweak
[binutils-gdb.git] / gprof / hertz.h
blob2ea01bac8828a349d9428b87f34eaf917f97eb43
1 #ifndef hertz_h
2 #define hertz_h
4 #include "gprof.h"
6 #define HZ_WRONG 0 /* impossible clock frequency */
8 /*
9 * Discover the tick frequency of the machine if something goes wrong,
10 * we return HZ_WRONG, an impossible sampling frequency.
13 /* FIXME: Checking for MACH here makes no sense when for a cross
14 gprof. */
15 #ifdef MACH
16 #include <machine/mach_param.h>
17 #define hertz() (HZ)
18 #else
19 extern int hertz PARAMS ((void));
20 #endif
22 #endif /* hertz_h */