类 | |
| class | Marker |
Public 成员函数 | |
| synchronized void | add (String name, long threadId) |
| synchronized void | finish (String header) |
静态 Public 属性 | |
| static final boolean | ENABLED = VolleyLog.DEBUG |
Protected 成员函数 | |
| void | finalize () throws Throwable |
Private 成员函数 | |
| long | getTotalDuration () |
Private 属性 | |
| final List< Marker > | mMarkers = new ArrayList<Marker>() |
| boolean | mFinished = false |
静态 Private 属性 | |
| static final long | MIN_DURATION_FOR_LOGGING_MS = 0 |
A simple event log with records containing a name, thread ID, and timestamp.
|
inline |
Adds a marker to this log with the specified name.
|
inlineprotected |
|
inline |
Closes the log, dumping it to logcat if the time difference between the first and last markers is greater than MIN_DURATION_FOR_LOGGING_MS.
| header | Header string to print above the marker log. |
|
inlineprivate |
Returns the time difference between the first and last events in this log.
|
static |
|
private |
|
staticprivate |
Minimum duration from first marker to last in an marker log to warrant logging.
|
private |
1.8.8