struct

HDRHistogram::Histogram

Inherits Struct < Value < Object

Constructors

new(min : Int64, max : Int64, significant_figures : Int32)
Source
new(min : Int, max : Int, sigfigs)
Source

Instance methods

bucket_count
Source
bucket_count=(bucket_count : Int32)
Source
bytesize
Source
count_at_index(index, sub_index)
Source
counts
Source
counts=(counts : Array(Int64))
Source
counts_size
Source
counts_size=(counts_size : Int32)
Source
each_bucket
Source
each_percentile(ticks_per_half_distance, &)
Source
each_value
Source
empty?
Source
equal_values?(a, b)
Source
highest_equivalent_value(value)
Source
highest_trackable_value
Source
highest_trackable_value=(highest_trackable_value : Int64)
Source
lowest_equivalent_value(value)
Source
lowest_trackable_value
Source
lowest_trackable_value=(lowest_trackable_value : Int64)
Source
max

approximate

Source
mean

approximate

Source
median_equivalent_value(value)
Source
merge(other : Histogram)
Source
min

approximate

Source
record_corrected_value(value, expected_interval, count = 1_i64)

record_corrected_value records the given value, correcting for coordinated omission (ie stalls in the recording process). This only works for processes which are recording values at an expected interval (e.g., doing jitter analysis). Processes which are recording ad-hoc values (e.g., latency for incoming requests) can't take advantage of this.

Source
record_value(value)
Source
record_values(value : Int64, count : Int64)
Source
record_values(value : Int, count : Int)
Source
reset
Source
significant_figures
Source
significant_figures=(significant_figures : Int64)
Source
std_dev

approximate

Source
sub_bucket_count
Source
sub_bucket_count=(sub_bucket_count : Int32)
Source
sub_bucket_half_count
Source
sub_bucket_half_count=(sub_bucket_half_count : Int32)
Source
sub_bucket_half_count_magnitude
Source
sub_bucket_half_count_magnitude=(sub_bucket_half_count_magnitude : Int32)
Source
sub_bucket_mask
Source
sub_bucket_mask=(sub_bucket_mask : Int64)
Source
total_count
Source
total_count=(total_count : Int64)
Source
unit_magnitude
Source
unit_magnitude=(unit_magnitude : Int64)
Source
value_at_percentile(q)
Source
value_from_index(index, sub_index)
Source