Name: skT88420 Date: 05/10/99
When I run the code below on a Solaris there is no problem.
The millis updates quickly and there is a very small gap between
each result. When I run this on a Windows 95 machine I get the
same result a number of times and then it suddenly jumps 50-70
millis.Why is this? Is this a bug? Please help me!!!!!
----------------------------------------------------------------
public class timetest
{
public static void main(String argv[])
{
for(int l=0;l<10000;l++) {
System.out.println("Time="+System.currentTimeMillis());
}
System.exit(0);
}
}
(Review ID: 58026)
======================================================================
- duplicates
-
JDK-4123961 (hpi) Need higher resolution System.currentTimeMillis on Win32
-
- Closed
-