Package com.acanx.utils.incubator.time
Class StopWatch.TaskInfo
java.lang.Object
com.acanx.utils.incubator.time.StopWatch.TaskInfo
- Enclosing class:
StopWatch
Inner class to hold data about one task executed within the stop watch.
-
Method Summary
Modifier and TypeMethodDescriptionReturn the name of this task.long
Return the time in milliseconds this task took.double
Return the time in seconds this task took.
-
Method Details
-
getTaskName
Return the name of this task.- Returns:
- name
-
getTimeMillis
public long getTimeMillis()Return the time in milliseconds this task took.- Returns:
- timeMillis
-
getTimeSeconds
public double getTimeSeconds()Return the time in seconds this task took.- Returns:
- timeSeconds
-