[Gllug] Clock( ) function in C

dudes dudes akam123 at hotmail.co.uk
Tue Sep 20 14:43:16 UTC 2011




Hi, 

 

Appreciate
any inputs on this C. 

 

I’m trying
to use clock() function (time.h) in milliseconds, but not CPU based. For
example do something (some codes) for 5 milliseconds and when it is exactly 5 millisecond, then exit();

 

 

Any examples or similar approaches are highly appreciated. I have googled
different resources but couldn’t find anything useful.

 

Thanks in
advanceak


 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20110920/3328d56a/attachment.html>
-------------- next part --------------
--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list