//leakcanary-repo/leakcanary/UptimeClock
UptimeClock¶
[jvm]\ fun interface UptimeClock
An interface to abstract the clock to get the system uptime.
Functions¶
Name | Summary |
---|---|
uptime | [jvm] abstract fun uptime(): Duration On JVMs this should return System.nanoTime as a Duration. |