|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Timer | |
|---|---|
| org.dishevelled.timer | Provides a timer class with nanosecond resolution and summary statistics on recorded elapsed times. |
| org.dishevelled.timer.report | Implementations of TimerReport. |
| Uses of Timer in org.dishevelled.timer |
|---|
| Methods in org.dishevelled.timer that return Timer | |
|---|---|
static Timer |
Timer.loop(Runnable codeBlock,
int n)
Loop over the specified code block n times. |
static Timer |
Timer.loop(Runnable codeBlock,
int n,
Timer t)
Loop over the specified code block n times
with the specified timer. |
static Timer |
Timer.time(Runnable codeBlock)
Time the specified code block. |
static Timer |
Timer.time(Runnable codeBlock,
Timer t)
Time the specified code block with the specified timer. |
| Methods in org.dishevelled.timer that return types with arguments of type Timer | |
|---|---|
static Map<Runnable,Timer> |
Timer.loop(List<? extends Runnable> codeBlocks,
int n)
For each of the code blocks in the specified list of code blocks, loop over the code block n times. |
static Map<Runnable,Timer> |
Timer.loop(List<? extends Runnable> codeBlocks,
int n,
int m)
Loop over the code blocks in the specified list of code blocks n times, executing each code block m times. |
static Map<Runnable,Timer> |
Timer.shuffle(List<? extends Runnable> codeBlocks,
int n)
For each of the code blocks in the specified list of code blocks, executed in random order, loop over the code block n times. |
static Map<Runnable,Timer> |
Timer.shuffle(List<? extends Runnable> codeBlocks,
int n,
int m)
Loop over the code blocks in the specified list of code blocks n times, in random order, executing each code block
m times. |
static Map<Runnable,Timer> |
Timer.shuffle(List<? extends Runnable> codeBlocks,
int n,
int m,
Random random)
Loop over the code blocks in the specified list of code blocks n times, in random order using the specified source of
randomness, executing each code block m times. |
static Map<Runnable,Timer> |
Timer.shuffle(List<? extends Runnable> codeBlocks,
int n,
Random random)
For each of the code blocks in the specified list of code blocks, executed in random order using the specified source of randomness, loop over the code block n times. |
| Methods in org.dishevelled.timer with parameters of type Timer | |
|---|---|
static Timer |
Timer.loop(Runnable codeBlock,
int n,
Timer t)
Loop over the specified code block n times
with the specified timer. |
static Timer |
Timer.time(Runnable codeBlock,
Timer t)
Time the specified code block with the specified timer. |
| Method parameters in org.dishevelled.timer with type arguments of type Timer | ||
|---|---|---|
|
TimerReport.append(Map<? extends Runnable,Timer> timers,
T appendable)
Append the specified map of timers keyed by runnables to the specified appendable. |
|
void |
TimerReport.write(Map<? extends Runnable,Timer> timers,
File file)
Write the specified map of timers keyed by runnables to the specified file. |
|
void |
TimerReport.write(Map<? extends Runnable,Timer> timers,
OutputStream outputStream)
Write the specified map of timers keyed by runnables to the specified output stream. |
|
| Uses of Timer in org.dishevelled.timer.report |
|---|
| Method parameters in org.dishevelled.timer.report with type arguments of type Timer | ||
|---|---|---|
|
TextTimerReport.append(Map<? extends Runnable,Timer> timers,
T appendable)
Append the specified map of timers keyed by runnables to the specified appendable. |
|
|
CsvTimerReport.append(Map<? extends Runnable,Timer> timers,
T appendable)
Append the specified map of timers keyed by runnables to the specified appendable. |
|
void |
AbstractTimerReport.write(Map<? extends Runnable,Timer> timers,
File file)
Write the specified map of timers keyed by runnables to the specified file. |
|
void |
AbstractTimerReport.write(Map<? extends Runnable,Timer> timers,
OutputStream outputStream)
Write the specified map of timers keyed by runnables to the specified output stream. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||