org.slf4j.profiler
public class Profiler extends Object implements TimeInstrument
| Constructor Summary | |
|---|---|
| Profiler(String name) | |
| Method Summary | |
|---|---|
| long | elapsedTime() |
| Logger | getLogger() |
| String | getName() |
| ProfilerRegistry | getProfilerRegistry() |
| TimeInstrumentStatus | getStatus() |
| void | log() |
| void | print() |
| void | registerWith(ProfilerRegistry profilerRegistry) |
| void | setLogger(Logger logger) |
| void | start(String name)
Starts a child stop watch and stops any previously started time instruments. |
| Profiler | startNested(String name) |
| TimeInstrument | stop() |