struct HDRHistogram::Histogram
- HDRHistogram::Histogram
- Struct
- Value
- Object
Defined in:
hdr_histogram/histogram.crConstructors
Instance Method Summary
- #bucket_count : Int32
- #bucket_count=(bucket_count : Int32)
- #bytesize
- #count_at_index(index, sub_index)
- #counts : Array(Int64)
- #counts=(counts : Array(Int64))
- #counts_size : Int32
- #counts_size=(counts_size : Int32)
- #each_bucket(&)
- #each_percentile(ticks_per_half_distance, &)
- #each_value(&)
- #empty?
- #equal_values?(a, b)
- #highest_equivalent_value(value)
- #highest_trackable_value : Int64
- #highest_trackable_value=(highest_trackable_value : Int64)
- #lowest_equivalent_value(value)
- #lowest_trackable_value : Int64
- #lowest_trackable_value=(lowest_trackable_value : Int64)
-
#max
approximate
-
#mean
approximate
- #median_equivalent_value(value)
- #merge(other : Histogram)
-
#min
approximate
-
#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).
- #record_value(value)
- #record_values(value : Int64, count : Int64)
- #record_values(value : Int, count : Int)
- #reset
- #significant_figures : Int64
- #significant_figures=(significant_figures : Int64)
-
#std_dev
approximate
- #sub_bucket_count : Int32
- #sub_bucket_count=(sub_bucket_count : Int32)
- #sub_bucket_half_count : Int32
- #sub_bucket_half_count=(sub_bucket_half_count : Int32)
- #sub_bucket_half_count_magnitude : Int32
- #sub_bucket_half_count_magnitude=(sub_bucket_half_count_magnitude : Int32)
- #sub_bucket_mask : Int64
- #sub_bucket_mask=(sub_bucket_mask : Int64)
- #total_count : Int64
- #total_count=(total_count : Int64)
- #unit_magnitude : Int64
- #unit_magnitude=(unit_magnitude : Int64)
- #value_at_percentile(q)
- #value_from_index(index, sub_index)
Constructor Detail
Instance Method Detail
def 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.