mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 08:22:44 +00:00
Bump CLK_TCK to more precise value (128)
If you want more precise, use directly getrusage(), because clock() emulated via it.
This commit is contained in:
parent
bfbc1f09d4
commit
4aa43a6797
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=1216
@ -31,14 +31,14 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)limits.h 7.2 (Berkeley) 6/28/90
|
* 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_
|
#ifndef _MACHINE_LIMITS_H_
|
||||||
#define _MACHINE_LIMITS_H_ 1
|
#define _MACHINE_LIMITS_H_ 1
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#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 MB_LEN_MAX 1 /* no multibyte characters */
|
||||||
|
|
||||||
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
||||||
|
@ -31,14 +31,14 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)limits.h 7.2 (Berkeley) 6/28/90
|
* 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_
|
#ifndef _MACHINE_LIMITS_H_
|
||||||
#define _MACHINE_LIMITS_H_ 1
|
#define _MACHINE_LIMITS_H_ 1
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#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 MB_LEN_MAX 1 /* no multibyte characters */
|
||||||
|
|
||||||
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
||||||
|
@ -31,14 +31,14 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)limits.h 7.2 (Berkeley) 6/28/90
|
* 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_
|
#ifndef _MACHINE_LIMITS_H_
|
||||||
#define _MACHINE_LIMITS_H_ 1
|
#define _MACHINE_LIMITS_H_ 1
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#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 MB_LEN_MAX 1 /* no multibyte characters */
|
||||||
|
|
||||||
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
||||||
|
@ -31,14 +31,14 @@
|
|||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* from: @(#)limits.h 7.2 (Berkeley) 6/28/90
|
* 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_
|
#ifndef _MACHINE_LIMITS_H_
|
||||||
#define _MACHINE_LIMITS_H_ 1
|
#define _MACHINE_LIMITS_H_ 1
|
||||||
|
|
||||||
#define CHAR_BIT 8 /* number of bits in a char */
|
#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 MB_LEN_MAX 1 /* no multibyte characters */
|
||||||
|
|
||||||
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
#define SCHAR_MIN (-0x7f-1) /* max value for a signed char */
|
||||||
|
Loading…
Reference in New Issue
Block a user