Class CpuTimeClock


  • public class CpuTimeClock
    extends Clock
    A clock implementation which returns the current thread's CPU time.
    • Constructor Detail

      • CpuTimeClock

        public CpuTimeClock()
    • Method Detail

      • getTick

        public long getTick()
        Description copied from class: Clock
        Returns the current time tick.
        Specified by:
        getTick in class Clock
        Returns:
        time tick in nanoseconds