plan 9 kernel history: overview | file list | diff list

1997/1208/carrera/mem.h (diff list | history)

1997/1208/sys/src/9/carrera/mem.h:22,281998/0610/sys/src/9/carrera/mem.h:22,28 (short | long | prev | next)
1993/0903    
/* 
 * Time 
 */ 
1994/0209    
#define	HZ		100			/* clock frequency */ 
1998/0610    
#define	HZ		1000			/* clock frequency */ 
1993/0903    
#define	MS2HZ		(1000/HZ)		/* millisec per clock tick */ 
#define	TK2SEC(t)	((t)/HZ)		/* ticks to seconds */ 
#define	TK2MS(t)	((t)*MS2HZ)		/* ticks to milliseconds */ 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)