public class HistogramStatsPrms extends BasePrms
| Modifier and Type | Field and Description |
|---|---|
static Long |
binVals
(List of long)
List of monotonically increasing long time units, in nanoseconds, used
to configure the bins in an instance of
HistogramStats. |
static Long |
enable
(boolean)
Whether to enable
HistogramStats for tasks that use them. |
static Long |
logHighLatencyWarnings
(boolean)
Whether to log warnings when the highest latencies occur, with the
value of the latency.
|
static Long |
statisticsSpecification
(String)
Name of the statistics specification file.
|
| Constructor and Description |
|---|
HistogramStatsPrms() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
enable() |
static long[] |
getBinVals() |
static boolean |
logHighLatencyWarnings() |
dumpKeys, keyForName, nameForKey, setValues, tab, tasktabpublic static Long enable
HistogramStats for tasks that use them.
Defaults to false. Histogram statistics can be enabled or disabled
on a per-task basis using task attributes.public static Long logHighLatencyWarnings
public static Long statisticsSpecification
public static Long binVals
HistogramStats. This
is a required parameter when enable is true. The same set of
bin values is used for all statistics instances.
For example,
perffmwk.HistogramStatsPrms-enable = true;
perffmwk.HistogramStatsPrms-binVals = 500000 1000000;
would produce three bins, one to count all times under 500000 ns,
one for times between 500000 and 1000000 ns, and one for all times
over 1000000 ns.
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.