public class MetricUtil extends Object
Constructor and Description |
---|
MetricUtil() |
Modifier and Type | Method and Description |
---|---|
static long |
getCPUCurrentThread()
Returns CPU time for the current thread.
|
static long |
getWall()
Returns wall time using System#nanoTime.
|
static void |
initialize()
Initialize metrics mgmt.
|
public static void initialize()
public static long getCPUCurrentThread()
public static long getWall()