delorie.com/archives/browse.cgi | search |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |