Package PamUtils

Class SystemTiming

java.lang.Object
PamUtils.SystemTiming

public class SystemTiming extends Object
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:
  • invalid reference
    PamModel.PamProfiler
  • Constructor Details

    • SystemTiming

      public SystemTiming()
  • Method Details

    • setSystemTime

      public static boolean setSystemTime(long timeMilliseconds)
      Set the system time.
      Parameters:
      timeMilliseconds -
      Returns:
    • setWindowsSystemTime

      public static boolean setWindowsSystemTime(Calendar c)
    • load

      public static void load()