Interface Histogram.Timer
- All Superinterfaces:
AutoCloseable
- Enclosing interface:
- Histogram
Represents an event being timed.
Observe duration on AutoCloseable.close()
-
Method Summary
Modifier and TypeMethodDescriptiondoubleObserve the amount of time in seconds sinceHistogram.startTimer()was called.Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
observeDuration
double observeDuration()Observe the amount of time in seconds sinceHistogram.startTimer()was called.- Returns:
- Measured duration in seconds since
Histogram.startTimer()was called.
-