Constructor and Description |
---|
CPUClock()
Constructs and starts the time count.
|
Modifier and Type | Method and Description |
---|---|
String |
format()
Deprecated.
|
double |
getHours()
Returns the elapsed time count in hours.
|
double |
getMilliSeconds()
Note that this class does not compute exactly the time in milliseconds.
|
double |
getMinutes()
Returns the elapsed time count in minutes.
|
double |
getSeconds()
Returns the elapsed time count in seconds.
|
void |
init()
Reset the time count.
|
String |
toString()
Return the time in string from
AbstractChrono.format() . |
public double getMilliSeconds()
getSeconds()
multiplied by 1000.getMilliSeconds
in interface Clock
public double getSeconds()
Clock
getSeconds
in interface Clock
public double getMinutes()
Clock
getMinutes
in interface Clock
public double getHours()
Clock
@Deprecated public String format()