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

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

Joined the port of 2.11.2 with 2.14.

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