public class Benchmark extends Object
| Constructor and Description |
|---|
Benchmark() |
| Modifier and Type | Method and Description |
|---|---|
static Timings |
getAverages() |
static long |
getTime()
Deprecated.
Use TimeAmount.currentMs instead.
|
static void |
pluginDisabled(Class c) |
static long |
start(String source)
Start a new benchmark.
|
static void |
start(String logDebug,
String source) |
static String |
startAndFormat(String source) |
static long |
stop(String source) |
static long |
stop(String logDebug,
String source) |
static String |
stopAndFormat(String source) |
public static long start(String source)
source - Task/Source/Namepublic static long stop(String source)
public static Timings getAverages()
public static void pluginDisabled(Class c)
@Deprecated public static long getTime()
Copyright © 2018. All rights reserved.