public class Timing extends Object
Constructor and Description |
---|
Timing() |
Modifier and Type | Method and Description |
---|---|
static int |
time(Callable<?> c)
Get the time taken by a Callable's call method
|
static int[] |
time(Callable<?> c,
int nbruns)
Get the time taken for each run in a series of calls
|
static int |
time(Runnable c)
Get the time taken by a Callable's call method
|
public static int[] time(Callable<?> c, int nbruns) throws Exception
c
- nbruns
- Exception
public static int time(Callable<?> c) throws Exception
c
- Exception
Copyright © 2005–2020. All rights reserved.