Class CpuTimeClock

java.lang.Object
io.dropwizard.metrics5.Clock
io.dropwizard.metrics5.jvm.CpuTimeClock

public class CpuTimeClock extends io.dropwizard.metrics5.Clock
A clock implementation which returns the current thread's CPU time.
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.dropwizard.metrics5.Clock

    io.dropwizard.metrics5.Clock.UserTimeClock
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     

    Methods inherited from class io.dropwizard.metrics5.Clock

    defaultClock, getTime

    Methods inherited from class java.lang.Object

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

    • CpuTimeClock

      public CpuTimeClock()
  • Method Details

    • getTick

      public long getTick()
      Specified by:
      getTick in class io.dropwizard.metrics5.Clock