Method | Description | |
---|---|---|
CopyInto ( this source, |
Copy this histogram into the target histogram, overwriting it's contents.
|
|
GetMaxValue ( this histogram ) : long |
Get the highest recorded value level in the histogram
|
|
GetMean ( this histogram ) : double |
Get the computed mean value of all recorded values in the histogram
|
|
GetStdDeviation ( this histogram ) : double |
Get the computed standard deviation of all recorded values in the histogram
|
|
HighestEquivalentValue ( this histogram, long value ) : long |
Get the highest value that is equivalent to the given value within the histogram's resolution. Where "equivalent" means that value samples recorded for any two equivalent values are counted in a common total count.
|
|
OutputPercentileDistribution ( this histogram, |
Produce textual representation of the value distribution of histogram data by percentile. The distribution is output with exponentially increasing resolution, with each exponentially decreasing half-distance containing percentileTicksPerHalfDistance percentile reporting tick points.
|
|
Percentiles ( this histogram, int percentileTicksPerHalfDistance ) : IEnumerable |
Provide a means of iterating through histogram values according to percentile levels. The iteration is performed in steps that start at 0% and reduce their distance to 100% according to the percentileTicksPerHalfDistance parameter, ultimately reaching 100% when all recorded histogram values are exhausted.
|
|
Record ( this recorder, System.Action action ) : void |
Executes the action and records the time to complete the action. The time is recorded in system clock ticks. This time may vary between frameworks and platforms, but is equivalent to The units returned from If you are able to cache the action delegate, then doing so is encouraged. |
public static CopyInto ( this source, |
||
source | this | The source histogram |
targetHistogram | the histogram to copy into | |
return | void |
public static GetMaxValue ( this histogram ) : long | ||
histogram | this | |
return | long |
public static GetMean ( this histogram ) : double | ||
histogram | this | |
return | double |
public static GetStdDeviation ( this histogram ) : double | ||
histogram | this | |
return | double |
public static HighestEquivalentValue ( this histogram, long value ) : long | ||
histogram | this | The histogram to operate on |
value | long | The given value |
return | long |
public static OutputPercentileDistribution ( this histogram, |
||
histogram | this | The histogram to operate on |
writer | The |
|
percentileTicksPerHalfDistance | int | /// The number of reporting points per exponentially decreasing half-distance /// |
outputValueUnitScalingRatio | double |
/// The scaling factor by which to divide histogram recorded values units in output.
/// Use the |
useCsvFormat | bool | Output in CSV (Comma Separated Values) format if |
return | void |
public static Percentiles ( this histogram, int percentileTicksPerHalfDistance ) : IEnumerable |
||
histogram | this | The histogram to operate on |
percentileTicksPerHalfDistance | int | /// The number of iteration steps per half-distance to 100%. /// |
return | IEnumerable |
public static Record ( this recorder, System.Action action ) : void | ||
recorder | this | The |
action | System.Action | The functionality to execute and measure |
return | void |