public class TimingUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static boolean |
preciseThreadTimesAvailable |
| Constructor and Description |
|---|
TimingUtils() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
enablePreciseTiming() |
static long |
getNanoCPUTimeOfCurrentThread() |
static long |
getNanoCPUTimeOfThread(long threadID) |
static double |
nanoTimeToSeconds(long nanoTime) |
public static boolean enablePreciseTiming()
public static long getNanoCPUTimeOfCurrentThread()
public static long getNanoCPUTimeOfThread(long threadID)
public static double nanoTimeToSeconds(long nanoTime)
Copyright © 2014 University of Waikato, Hamilton, NZ. All Rights Reserved.