public final class TimingVoodoo extends Object
| Constructor and Description |
|---|
TimingVoodoo() |
| Modifier and Type | Method and Description |
|---|---|
static long |
closestTime(long approxTime,
long interval)
Given the approximate time associated with a data point and the interval at which that data point is being
collected, compute the exact data point to which the data point corresponds.
|
static long |
roundDownTime(long approxTime,
long interval)
Given the approximate time associated with a data point and the interval at which that data point is being
collected, compute the exact data point to which the data point corresponds.
|
public static long roundDownTime(long approxTime,
long interval)
approxTime - the approximate time to which the data point correspondsinterval - the collection intervalpublic static long closestTime(long approxTime,
long interval)
approxTime - the approximate time to which the data point correspondsinterval - the collection intervalCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.