toggle menu
moonlight
1.0-SNAPSHOT
jvm
switch theme
search in API
engine
/
io.github.moonlightsuite.moonlight.util
/
Stopwatch
Stopwatch
public
class
Stopwatch
EXPERIMENTAL: Utility class for tracking execution time.
Members
Properties
sessions
Link copied to clipboard
public
final
static
Map
<
UUID
,
Pair
<
Long
,
Long
>
>
sessions
Functions
get
Duration
Link copied to clipboard
public
long
getDuration
(
)
public
static
long
getDuration
(
UUID
sessionId
)
get
Sessions
Link copied to clipboard
public
static
Map
<
UUID
,
Pair
<
Long
,
Long
>
>
getSessions
(
)
start
Link copied to clipboard
public
static
Stopwatch
start
(
)
stop
Link copied to clipboard
public
long
stop
(
)