public final class Timing
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static double |
averageDiff(java.lang.String flagA,
java.lang.String flagB,
boolean accept) |
static void |
defineFlag(java.lang.String flag,
int size,
boolean accept)
This method will allocate initial capacity required for array list
|
static java.util.List<java.lang.Long> |
diffs(java.lang.String flagA,
java.lang.String flagB,
boolean accept) |
static TimingUnit |
getTimingUnitForFlag(java.lang.String flag) |
static void |
mark(java.lang.String flag,
boolean accept) |
static void |
markMili(java.lang.String flag,
boolean accept) |
static void |
markNano(java.lang.String flag,
boolean accept) |
static void |
setDefaultTimingUnit(TimingUnit defaultTimingUnit) |
public static void setDefaultTimingUnit(TimingUnit defaultTimingUnit)
public static void defineFlag(java.lang.String flag, int size, boolean accept)
public static TimingUnit getTimingUnitForFlag(java.lang.String flag)
public static void mark(java.lang.String flag, boolean accept)
public static void markMili(java.lang.String flag, boolean accept)
public static void markNano(java.lang.String flag, boolean accept)
public static double averageDiff(java.lang.String flagA, java.lang.String flagB, boolean accept)
public static java.util.List<java.lang.Long> diffs(java.lang.String flagA, java.lang.String flagB, boolean accept)