19990502 sourceware import
[deliverable/binutils-gdb.git] / gprof / hertz.h
CommitLineData
252b5132
RH
1#ifndef hertz_h
2#define hertz_h
3
4#include "gprof.h"
5
6#define HZ_WRONG 0 /* impossible clock frequency */
7
8/*
9 * Discover the tick frequency of the machine if something goes wrong,
10 * we return HZ_WRONG, an impossible sampling frequency.
11 */
12
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
19extern int hertz PARAMS ((void));
20#endif
21
22#endif /* hertz_h */
This page took 0.02443 seconds and 4 git commands to generate.