The management class for all diagnostic timers. More...
Static Public Member Functions | |
static fm.liveswitch.diagnostics.DurationTimer | getDurationTimer (String tag) |
Gets a duration timer with a specific tag. More... | |
static fm.liveswitch.diagnostics.DurationTimer | getDurationTimer (@SuppressWarnings("rawtypes") Class type) |
Gets a duration timer with a tag corresponding to a type name. More... | |
static boolean | getEnabled () |
Gets whether the timings diagnostics are enabled or not. More... | |
static int | getOutputInterval () |
Gets the output interval (in seconds) for diagnostic timings. More... | |
static fm.liveswitch.LogLevel | getOutputLogLevel () |
Gets the log level to use when outputting the timings. More... | |
static fm.liveswitch.diagnostics.RateTimer | getRateTimer (String tag) |
Gets a rate timer with a specific tag. More... | |
static fm.liveswitch.diagnostics.RateTimer | getRateTimer (@SuppressWarnings("rawtypes") Class type) |
Gets a rate timer with a tag corresponding to a type name. More... | |
static void | setOutputInterval (int value) |
Sets the output interval (in seconds) for diagnostic timings. More... | |
static void | setOutputLogLevel (fm.liveswitch.LogLevel value) |
Sets the log level to use when outputting the timings. More... | |
The management class for all diagnostic timers.
|
static |
Gets a duration timer with a tag corresponding to a type name.
type | The type. |
|
static |
Gets a duration timer with a specific tag.
tag | The tag. |
|
static |
Gets whether the timings diagnostics are enabled or not.
|
static |
Gets the output interval (in seconds) for diagnostic timings.
Setting to 0 disables.
|
static |
Gets the log level to use when outputting the timings.
|
static |
Gets a rate timer with a tag corresponding to a type name.
type | The type. |
|
static |
Gets a rate timer with a specific tag.
tag | The tag. |
|
static |
Sets the output interval (in seconds) for diagnostic timings.
Setting to 0 disables.
|
static |
Sets the log level to use when outputting the timings.