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