public class Debug extends Object
Constructor and Description |
---|
Debug() |
Modifier and Type | Method and Description |
---|---|
static OperationTimer |
disableTiming()
This method disables and returns the global OperationTimer, which was previously setup
by enableTiming().
|
static void |
enableTiming()
This method sets up a global OperationTimer that can be used to time
operations.
|
static void |
enableTiming(OperationTimer using)
This method sets up a global OperationTimer that can be used to time
operations - using a specific timer.
|
static void |
endTiming()
If enableTiming() was previously called, this method will tell the debug timer to
stop timing the current operation, otherwise this method does nothing.
|
static void |
nextTiming(String operation) |
static void |
startTiming(String operation)
If enableTiming() was previously called, this method will tell the debug timer to
start timing this operation, otherwise this method does nothing.
|
public static void enableTiming()
public static void enableTiming(OperationTimer using)
public static OperationTimer disableTiming()
public static void startTiming(String operation)
public static void endTiming()
public static void nextTiming(String operation)