latent support for clock info

This commit is contained in:
cgd 1994-05-06 22:41:46 +00:00
parent bdfe8b6177
commit 2b424ce623
1 changed files with 11 additions and 1 deletions

View File

@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* from: @(#)time.h 7.6 (Berkeley) 2/22/91
* $Id: time.h,v 1.4 1994/04/25 03:50:35 cgd Exp $
* $Id: time.h,v 1.5 1994/05/06 22:41:46 cgd Exp $
*/
#ifndef _SYS_TIME_H_
@ -99,6 +99,16 @@ struct itimerval {
struct timeval it_value; /* current value */
};
/*
* Getkerninfo clock information structure
*/
struct clockinfo {
int hz; /* clock frequency */
int tick; /* micro-seconds per hz tick */
int stathz; /* statistics clock frequency */
int profhz; /* profiling clock frequency */
};
#ifdef KERNEL
int itimerfix __P((struct timeval *tv));
int itimerdecr __P((struct itimerval *itp, int usec));