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.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static ClockId$ MODULE$
      Static reference to the singleton instance of this Scala object.
    • Constructor Summary

      Constructors 
      Constructor Description
      ClockId$()  
    • Method Summary

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

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

      • MODULE$

        public static final ClockId$ MODULE$
        Static reference to the singleton instance of this Scala object.
    • Constructor Detail

      • ClockId$

        public ClockId$()
    • Method Detail

      • ClockRealtime

        public int ClockRealtime()
      • ClockTAI

        public int ClockTAI()