diff options
Diffstat (limited to 'sys/alpha/include/ansi.h')
-rw-r--r-- | sys/alpha/include/ansi.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/alpha/include/ansi.h b/sys/alpha/include/ansi.h index 5907db2..78e9331 100644 --- a/sys/alpha/include/ansi.h +++ b/sys/alpha/include/ansi.h @@ -1,4 +1,4 @@ -/* $Id$ */ +/* $Id: ansi.h,v 1.1 1998/01/10 10:13:13 jb Exp $ */ /* From: NetBSD: ansi.h,v 1.9 1997/11/23 20:20:53 kleink Exp */ /*- @@ -92,4 +92,17 @@ typedef struct { #define _BSD_WINT_T_ int /* wint_t */ #define _BSD_RUNE_T_ int /* rune_t */ +/* + * Frequencies of the clock ticks reported by clock() and times(). They + * are the same as stathz for bogus historical reasons. They should be + * 1e6 because clock() and times() are implemented using getrusage() and + * there is no good reason why they should be less accurate. There is + * the bad reason that (broken) programs might not like clock_t or + * CLOCKS_PER_SEC being ``double'' (``unsigned long'' is not large enough + * to hold the required 24 hours worth of ticks if the frequency is + * 1000000ul, and ``unsigned long long'' would be nonstandard). + */ +#define _BSD_CLK_TCK_ 100 +#define _BSD_CLOCKS_PER_SEC_ 100 + #endif /* _ANSI_H_ */ |