public class Tic
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
(package private) long |
initTime |
(package private) long |
startTime |
Constructor and Description |
---|
Tic()
Includes an implicit call to tic()
|
Modifier and Type | Method and Description |
---|---|
void |
tic()
Begin measuring time from now.
|
double |
toc()
How much time has passed since the most recent call to tic()?
|
double |
toctic()
Equivalent to toc() followed by tic()
|
double |
totalTime()
How much time has passed since the object was created?
|
public void tic()
public double toc()
public double toctic()
public double totalTime()