public class TimeDebug
extends java.lang.Object
add(String)
, then call dump()
to have a reportModifier and Type | Class and Description |
---|---|
private static class |
TimeDebug.TimeInfo
Time information of a step
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
label
Time logging generic label
|
private long |
time
Last time
|
private java.util.ArrayList<TimeDebug.TimeInfo> |
times
Collected information
|
Constructor and Description |
---|
TimeDebug(java.lang.String label)
Create a time logging.
|
private final java.lang.String label
private long time
private final java.util.ArrayList<TimeDebug.TimeInfo> times
public TimeDebug(java.lang.String label)
label
- Generic labelprotected void finalize() throws java.lang.Throwable
finalize
in class java.lang.Object
java.lang.Throwable
- On issueObject.finalize()
public void add(java.lang.String label)
label
- Label that identify the steppublic void dump()