Package zmq.util

Class Clock


  • public class Clock
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private Clock()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static long nowMS()  
      static long nowNS()
      High precision timestamp in nanoseconds.
      static long nowUS()
      High precision timestamp in microseconds.
      static long rdtsc()  
      • Methods inherited from class java.lang.Object

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

      • Clock

        private Clock()
    • Method Detail

      • nowUS

        public static long nowUS()
        High precision timestamp in microseconds.
      • nowNS

        public static long nowNS()
        High precision timestamp in nanoseconds.
      • nowMS

        public static long nowMS()
      • rdtsc

        public static long rdtsc()