prometheus-kotlin-client
Toggle table of contents
common
Platform filter
common
Switch theme
Search in API
prometheus-kotlin-client
core
/
io.github.klient.prometheus.core
/
SimpleTimer
Simple
Timer
class
SimpleTimer
Members
Constructors
Simple
Timer
Link copied to clipboard
constructor
(
timeProvider
:
SimpleTimer.TimeProvider
)
constructor
(
)
Types
Companion
Link copied to clipboard
object
Companion
Time
Provider
Link copied to clipboard
class
TimeProvider
Properties
default
Time
Provider
Link copied to clipboard
val
defaultTimeProvider
:
SimpleTimer.TimeProvider
Functions
elapsed
Seconds
Link copied to clipboard
fun
elapsedSeconds
(
)
:
Double
elapsed
Seconds
From
Nanos
Link copied to clipboard
fun
elapsedSecondsFromNanos
(
startNanos
:
Long
,
endNanos
:
Long
)
:
Double