Package PamUtils
Class SystemTiming
java.lang.Object
PamUtils.SystemTiming
Class for some system based time functions, primarily to get
CPU time for the process and to set the system time. These are
bundled together here purely for the convenience of having the
native code in a single dll. A windows DLL has been written -
we need someone to write DLL's for other OS.
Most functoins have now been moved to subclasses of OSClock, but the Windows dll that uses JNI has
to be called from here, since class names are built right into the JNI function calls.
- Author:
- Doug Gillespie
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidload()static booleansetSystemTime(long timeMilliseconds) Set the system time.static boolean
-
Constructor Details
-
SystemTiming
public SystemTiming()
-
-
Method Details
-
setSystemTime
public static boolean setSystemTime(long timeMilliseconds) Set the system time.- Parameters:
timeMilliseconds-- Returns:
-
setWindowsSystemTime
-
load
public static void load()
-