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 EngineStopwatchpublic void start(byte category)
EngineStopwatchstart in interface EngineStopwatchpublic void stop(byte category)
EngineStopwatchstop in interface EngineStopwatchpublic StopwatchGC getTimer(byte category)
EngineStopwatchgetTimer in interface EngineStopwatch