delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/09/30/02:17:25

Date: Thu, 29 Sep 1994 21:39:31 -0700
From: victor AT euler DOT Berkeley DOT EDU (Victor K. Chu)
To: DJGPP AT sun DOT soe DOT clarkson DOT edu
Subject: accuracy of clock()

Dear DJGPP Users,

It seems to me that the accuracy we can get from the time() 
function is only 1/18.2 second (about 55 mili-seconds), even 
though CLOCKS_PER_SEC is defined as 1000000 in time.h.

I wonder if anyone knows that there is any way to get a more
accurate time?

Thanks,
Victor Chu

- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019