Class ClockId


  • public class ClockId
    extends java.lang.Object
    Clock Id argument is the identifier of the particular clock on which to act. It is used by {@link csw.time.clock.natives.TimeLibrary.clock_gettime()} native call.

    Following are the possible ids in a linux system: CLOCK_REALTIME 0 CLOCK_MONOTONIC 1 CLOCK_PROCESS_CPUTIME_ID 2 CLOCK_THREAD_CPUTIME_ID 3 CLOCK_MONOTONIC_RAW 4 CLOCK_REALTIME_COARSE 5 CLOCK_MONOTONIC_COARSE 6 CLOCK_BOOTTIME 7 CLOCK_REALTIME_ALARM 8 CLOCK_BOOTTIME_ALARM 9 CLOCK_SGI_CYCLE 10 // In linux/time.h only. CLOCK_TAI 11 // In linux/time.h only.

    • Constructor Summary

      Constructors 
      Constructor Description
      ClockId()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int ClockRealtime()  
      static int ClockTAI()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClockId

        public ClockId()
    • Method Detail

      • ClockRealtime

        public static int ClockRealtime()
      • ClockTAI

        public static int ClockTAI()