From 4aa43a679719ac20f7e97964d5d33f5d2c0bf272 Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Sat, 26 Feb 1994 00:56:02 +0000 Subject: [PATCH] Bump CLK_TCK to more precise value (128) If you want more precise, use directly getrusage(), because clock() emulated via it. --- sys/i386/include/_limits.h | 4 ++-- sys/i386/include/limits.h | 4 ++-- sys/powerpc/include/_limits.h | 4 ++-- sys/powerpc/include/limits.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sys/i386/include/_limits.h b/sys/i386/include/_limits.h index f757428c46a2..72baa5866556 100644 --- a/sys/i386/include/_limits.h +++ b/sys/i386/include/_limits.h @@ -31,14 +31,14 @@ * SUCH DAMAGE. * * from: @(#)limits.h 7.2 (Berkeley) 6/28/90 - * $Id: limits.h,v 1.3 1993/11/07 17:42:57 wollman Exp $ + * $Id: limits.h,v 1.4 1993/12/19 05:14:46 alm Exp $ */ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ 1 #define CHAR_BIT 8 /* number of bits in a char */ -#define CLK_TCK 60 /* ticks per second */ +#define CLK_TCK 128 /* ticks per second */ #define MB_LEN_MAX 1 /* no multibyte characters */ #define SCHAR_MIN (-0x7f-1) /* max value for a signed char */ diff --git a/sys/i386/include/limits.h b/sys/i386/include/limits.h index f757428c46a2..72baa5866556 100644 --- a/sys/i386/include/limits.h +++ b/sys/i386/include/limits.h @@ -31,14 +31,14 @@ * SUCH DAMAGE. * * from: @(#)limits.h 7.2 (Berkeley) 6/28/90 - * $Id: limits.h,v 1.3 1993/11/07 17:42:57 wollman Exp $ + * $Id: limits.h,v 1.4 1993/12/19 05:14:46 alm Exp $ */ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ 1 #define CHAR_BIT 8 /* number of bits in a char */ -#define CLK_TCK 60 /* ticks per second */ +#define CLK_TCK 128 /* ticks per second */ #define MB_LEN_MAX 1 /* no multibyte characters */ #define SCHAR_MIN (-0x7f-1) /* max value for a signed char */ diff --git a/sys/powerpc/include/_limits.h b/sys/powerpc/include/_limits.h index f757428c46a2..72baa5866556 100644 --- a/sys/powerpc/include/_limits.h +++ b/sys/powerpc/include/_limits.h @@ -31,14 +31,14 @@ * SUCH DAMAGE. * * from: @(#)limits.h 7.2 (Berkeley) 6/28/90 - * $Id: limits.h,v 1.3 1993/11/07 17:42:57 wollman Exp $ + * $Id: limits.h,v 1.4 1993/12/19 05:14:46 alm Exp $ */ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ 1 #define CHAR_BIT 8 /* number of bits in a char */ -#define CLK_TCK 60 /* ticks per second */ +#define CLK_TCK 128 /* ticks per second */ #define MB_LEN_MAX 1 /* no multibyte characters */ #define SCHAR_MIN (-0x7f-1) /* max value for a signed char */ diff --git a/sys/powerpc/include/limits.h b/sys/powerpc/include/limits.h index f757428c46a2..72baa5866556 100644 --- a/sys/powerpc/include/limits.h +++ b/sys/powerpc/include/limits.h @@ -31,14 +31,14 @@ * SUCH DAMAGE. * * from: @(#)limits.h 7.2 (Berkeley) 6/28/90 - * $Id: limits.h,v 1.3 1993/11/07 17:42:57 wollman Exp $ + * $Id: limits.h,v 1.4 1993/12/19 05:14:46 alm Exp $ */ #ifndef _MACHINE_LIMITS_H_ #define _MACHINE_LIMITS_H_ 1 #define CHAR_BIT 8 /* number of bits in a char */ -#define CLK_TCK 60 /* ticks per second */ +#define CLK_TCK 128 /* ticks per second */ #define MB_LEN_MAX 1 /* no multibyte characters */ #define SCHAR_MIN (-0x7f-1) /* max value for a signed char */