Stopwatch |
Stopwatch.averageTime(long trials) |
Sets the elapsed time of the stopwatch to elapsed time / trials
|
static Stopwatch |
Stopwatch.createStarted() |
Create a stopwatch that is started.
|
static Stopwatch |
Stopwatch.createStarted(String name) |
Create a named stopwatch that is started.
|
static Stopwatch |
Stopwatch.createStarted(String name,
Logger logger,
Level level) |
Create a stopwatch that is started.
|
static Stopwatch |
Stopwatch.createStarted(Logger logger,
Level level) |
Create a stopwatch that is started.
|
static Stopwatch |
Stopwatch.createStopped() |
Create a stopwatch that is stopped.
|
static Stopwatch |
Stopwatch.createStopped(String name) |
Create a stopwatch that is stopped.
|
static Stopwatch |
Stopwatch.timeIt(int nTrials,
Runnable runnable) |
Calculates the time to execute the given runnable nTrial times
|
static Stopwatch |
Stopwatch.timeIt(Runnable runnable) |
Calculates the time to execute the given runnable
|