public class Timer extends Object
Constructor and Description |
---|
Timer()
Create a timer, and initialize the base timestamp
|
Modifier and Type | Method and Description |
---|---|
void |
reset()
Reset timestamps: as if this object was just created.
|
long |
shortStamp()
Get the time elapsed since the last timestamp.
|
long |
stamp()
Get the time elapsed since the last reset.
|
public void reset()
public long stamp()
public long shortStamp()
Copyright © 2005–2020. All rights reserved.