in german/auf Deutsch


SET Java_Clock_Resolution

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 ? .
This value is expressed in milliseconds. If this parameter is not set it defaults to 10 .

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.
If you need to ensure that the best Java performance is obtained when using currentTimeMillis, SET Java_Clock_Resolution = 32. This can be important when running Java benchmarks.


Platform Support:
OS/2 2.x OS/2 3.0 OS/2 4.0
No Yes Yes


Java Settings
SET Statements
Download
  <<< Previous
Config.sys Home
Next >>>  


Last modified 27 May 1999 by Joerg Sievers at jogi@warpsite.de. - This page can be found from http://www.warpsite.de/en/csdp/SET_Java_Clock_Resolution.htm
Copyright © 1998-2000 Oliver Poggensee, © 2000 Joerg Sievers