public abstract class AbstractEngineStopwatch extends Object implements EngineStopwatch
Modifier and Type | Field and Description |
---|---|
protected StopwatchGC[] |
stopwatch |
Modifier | Constructor and Description |
---|---|
protected |
AbstractEngineStopwatch() |
Modifier and Type | Method and Description |
---|---|
protected abstract String[] |
getCategoryNames() |
protected abstract int |
getNumberOfCategories() |
StopwatchGC |
getTimer(byte category)
Returns access to class encapsulating time events results, related to the given category.
|
String |
report() |
void |
start(byte category)
start timing for some category
|
void |
stop(byte category)
stop timing for some category
|
protected final StopwatchGC[] stopwatch
protected abstract int getNumberOfCategories()
protected abstract String[] getCategoryNames()
public final String report()
report
in interface EngineStopwatch
public void start(byte category)
EngineStopwatch
start
in interface EngineStopwatch
public void stop(byte category)
EngineStopwatch
stop
in interface EngineStopwatch
public StopwatchGC getTimer(byte category)
EngineStopwatch
getTimer
in interface EngineStopwatch