public class TimerCollection extends Object implements com.oracle.svm.util.ImageBuildStatistics.TimerCollectionPrinter
| Modifier and Type | Class and Description |
|---|---|
static class |
TimerCollection.Registry
A registry of well-known timers used when building images.
|
| Constructor and Description |
|---|
TimerCollection(String imageName) |
| Modifier and Type | Method and Description |
|---|---|
Timer |
createTimer(String name) |
Timer |
createTimer(String name,
boolean autoPrint) |
Timer |
createTimer(String prefix,
String name) |
Timer |
createTimer(String prefix,
String name,
boolean autoPrint) |
static Timer.StopTimer |
createTimerAndStart(String prefix,
String name) |
static Timer.StopTimer |
createTimerAndStart(TimerCollection.Registry type) |
Timer |
get(String name) |
Timer |
get(TimerCollection.Registry type) |
void |
printTimerStats(PrintWriter out) |
static TimerCollection |
singleton() |
public TimerCollection(String imageName)
public static TimerCollection singleton()
public Timer get(TimerCollection.Registry type)
public static Timer.StopTimer createTimerAndStart(String prefix, String name)
public static Timer.StopTimer createTimerAndStart(TimerCollection.Registry type)
public void printTimerStats(PrintWriter out)
printTimerStats in interface com.oracle.svm.util.ImageBuildStatistics.TimerCollectionPrinter