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

1999/0430/alphapc/clock.c (diff list | history)

1999/0430/sys/src/9/alphapc/clock.c:91,981999/0501/sys/src/9/alphapc/clock.c:91,98 (short | long | prev | next)
1999/0415    
{ 
1999/0429    
	uvlong eot; 
1999/0415    
 
1999/0429    
	eot = cycletimer() + (m->cpuhz/1000000)*us; 
	while(cycletimer() < eot) 
1999/0501    
	eot = fastticks(nil) + (m->cpuhz/1000000)*us; 
	while(fastticks(nil) < eot) 
1999/0429    
		; 
} 
1999/0415    
 


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