public class TimeProfiler extends Profiler
| Constructor and Description |
|---|
TimeProfiler() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all previous measurements.
|
TimeProfiler |
disable()
Disable profiler.
|
void |
dump(java.lang.String logTag)
Dump all sections to log with logTag.
|
TimeProfiler |
enable()
Enable profiler.
|
Measurement |
start(java.lang.String sectionName)
Start measurement, after it you should call
Measurement.end() to end measurement and add it. |
public Measurement start(java.lang.String sectionName)
Measurement.end() to end measurement and add it.sectionName - of measurement.public void dump(java.lang.String logTag)
public void clear()
public TimeProfiler disable()
Profilerpublic TimeProfiler enable()
Profiler