public class Timing extends Object
| Constructor and Description |
|---|
Timing() |
| Modifier and Type | Method and Description |
|---|---|
long |
elapsedTime()
Returns how much time as passed since Object creation, or the most recent call to tick().
|
long |
tick(String msg)
Print to System.out how much time has passed, resetting this Timing's start time to
the current time.
|
long |
totalElapsedTime()
Returns the number of milliseconds since this object was created.
|
public long tick(String msg)
tick call, or when this object was created.msg - Prefix of string printed with timepublic long elapsedTime()
public long totalElapsedTime()
Copyright © 2019 JULIE Lab, Germany. All rights reserved.