public class MPXStopWatch
extends java.util.Date
Constructor and Description |
---|
MPXStopWatch() |
Modifier and Type | Method and Description |
---|---|
static long |
getDeltaMsec()
Time in msec since last call.
|
static double |
getDeltaSec()
Time in seconds since last call.
|
static void |
reset()
Reset the stop watch.
|
static void |
reset(boolean quiet) |
static java.lang.String |
timeElapsed()
Elapsed time since last call as string.
|
static void |
timeElapsed(java.lang.String message) |
after, before, clone, compareTo, equals, from, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toInstant, toLocaleString, toString, UTC
public static long getDeltaMsec()
public static double getDeltaSec()
public static java.lang.String timeElapsed()
public static void timeElapsed(java.lang.String message)
public static void reset()
public static void reset(boolean quiet)