Modifier and Type | Method and Description |
---|---|
long |
elapsedTime()
Time elapsed between start and stop, in nanoseconds.
|
String |
getName()
All time instruments are named entities.
|
org.slf4j.profiler.TimeInstrumentStatus |
getStatus() |
void |
log()
If the time instrument has an associated logger, then log information about
this time instrument.
|
void |
print()
Print information about this time instrument on the console.
|
void |
start(String name)
Start this time instrument.
|
TimeInstrument |
stop()
Stop this time instrument.
|
String getName()
org.slf4j.profiler.TimeInstrumentStatus getStatus()
void start(String name)
name
- TimeInstrument stop()
long elapsedTime()
void print()
void log()
Copyright © 2019 JBoss by Red Hat. All rights reserved.