source: trunk/src/binutils/gprof/hertz.h@ 86

Last change on this file since 86 was 86, checked in by bird, 22 years ago

Applied the original 2.11.2 diff.

  • Property cvs2svn:cvs-rev set to 1.2
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 372 bytes
Line 
1#ifndef hertz_h
2#define hertz_h
3
4#include "gprof.h"
5
6#ifdef __EMX__
7#define HERTZ (_osmode == OS2_MODE ? 1000 : 1024)
8#endif
9
10#define HZ_WRONG 0 /* impossible clock frequency */
11
12/*
13 * Discover the tick frequency of the machine if something goes wrong,
14 * we return HZ_WRONG, an impossible sampling frequency.
15 */
16
17extern int hertz PARAMS ((void));
18
19#endif /* hertz_h */
Note: See TracBrowser for help on using the repository browser.