public static final class StopWatch.TaskInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
taskName |
private long |
timeMillis |
Constructor and Description |
---|
StopWatch.TaskInfo(java.lang.String taskName,
long timeMillis) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTaskName()
Return the name of this task.
|
long |
getTimeMillis()
Return the time in milliseconds this task took.
|
double |
getTimeSeconds()
Return the time in seconds this task took.
|