public abstract class BaseTimer
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
delay(int time)
Delay execution for the given amount of time ( in ms ).
|
long |
getTime()
Return the current timer's value in microseconds (us).
|
boolean |
isRunning()
Return true if the timer is running.
|
void |
reset()
Stop the timer and set its value to zero.
|
void |
resume()
Restart the timer from its current value.
|
void |
start()
Reset the timer to zero and start it.
|
void |
stop()
Stop the timer and store the current value.
|
public long getTime()
public void start()
public void stop()
public void resume()
public void reset()
public boolean isRunning()
public static void delay(int time)