public class ToggleableProfiler extends BaseProfiler
Modifier and Type | Field and Description |
---|---|
boolean |
enabled |
averageSamples, calls, lastReset, lastSample, samples, samplesPerTick, samplesTotal, stddev, timings, total, totalCalls
Constructor and Description |
---|
ToggleableProfiler() |
Modifier and Type | Method and Description |
---|---|
void |
start() |
void |
start(java.lang.String name) |
void |
stop() |
void |
stop(java.lang.String name) |
void |
stop(java.lang.String name,
long extense) |
reset, results
public void start()
start
in interface Profiler
start
in class BaseProfiler
public void start(java.lang.String name)
start
in interface Profiler
start
in class BaseProfiler
public void stop()
stop
in interface Profiler
stop
in class BaseProfiler
public void stop(java.lang.String name)
stop
in interface Profiler
stop
in class BaseProfiler
public void stop(java.lang.String name, long extense)
stop
in interface Profiler
stop
in class BaseProfiler