1995-02-07 22:34:18 +00:00
|
|
|
#ifndef hertz_h
|
|
|
|
#define hertz_h
|
|
|
|
|
|
|
|
#include "gprof.h"
|
|
|
|
|
1995-02-08 02:35:44 +00:00
|
|
|
#define HZ_WRONG 0 /* impossible clock frequency */
|
1995-02-07 22:34:18 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* Discover the tick frequency of the machine if something goes wrong,
|
|
|
|
* we return HZ_WRONG, an impossible sampling frequency.
|
|
|
|
*/
|
1995-02-08 02:35:44 +00:00
|
|
|
extern int hertz PARAMS ((void));
|
1995-02-07 22:34:18 +00:00
|
|
|
|
|
|
|
#endif /* hertz_h */
|