Class SystemNanoTimer

java.lang.Object
kieker.monitoring.timer.AbstractTimeSource
kieker.monitoring.timer.SystemNanoTimer
All Implemented Interfaces:
ITimeSource

public final class SystemNanoTimer extends AbstractTimeSource
A timer implementation, counting in nanoseconds since a specified offset.
Since:
1.5
Author:
Jan Waller
  • Field Details

    • CONFIG_OFFSET

      public static final String CONFIG_OFFSET
      This is the name of the configuration determining the used offset (in nanoseconds).
    • CONFIG_UNIT

      public static final String CONFIG_UNIT
      This is the name of the configuration determining the used time unit (0 = nanoseconds, 1 = microseconds, 2 = milliseconds, 3 = seconds).
  • Constructor Details

    • SystemNanoTimer

      public SystemNanoTimer(Configuration configuration)
      Creates a new instance of this class using the given parameters.
      Parameters:
      configuration - The configuration for this timer.
  • Method Details