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

1991/0808/pc/mem.h (diff list | history)

1991/0807/sys/src/9/pc/mem.h:18,241991/0808/sys/src/9/pc/mem.h:18,24 (short | long | prev | next)
1991/0613    
/* 
1991/0705    
 * Time 
1991/0613    
 */ 
1991/0807    
#define	HZ		(1000)			/* clock frequency */ 
1991/0808    
#define	HZ		(20)			/* clock frequency */ 
1991/0709    
#define	MS2HZ		(1000/HZ)		/* millisec per clock tick */ 
#define	TK2SEC(t)	((t)/HZ)		/* ticks to seconds */ 
#define	TK2MS(t)	((((ulong)(t))*1000)/HZ)	/* ticks to milliseconds */ 


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