|
The environment variable Java_CLOCK_RESOLUTION allows you to specify the timer resolution you require from the currentTimeMillis method in the Java.lang.System class. SET Java_Clock_Resolution=value Parameters:
Value can be in the range from
1
to
?
.
The timer resolutions available are dependent on those provided by the OS/2 system. The Java system rounds down to the nearest available resolution. 1 millisecond is always available and is the highest resolution available. The default for Java_Clock_Resolution is 10 milliseconds, and this is generally rounded to 1 millisecond accuracy.
|