• Home
  • Raw
  • Download

Lines Matching defs:h

34 static int32_t normalize_index(const struct hdr_histogram* h, int32_t index)  in normalize_index()
57 static int64_t counts_get_direct(const struct hdr_histogram* h, int32_t index) in counts_get_direct()
62 static int64_t counts_get_normalised(const struct hdr_histogram* h, int32_t index) in counts_get_normalised()
68 struct hdr_histogram* h, int32_t index, int64_t value) in counts_inc_normalised()
76 struct hdr_histogram* h, int32_t index, int64_t value) in counts_inc_normalised_atomic()
84 static void update_min_max(struct hdr_histogram* h, int64_t value) in update_min_max()
90 static void update_min_max_atomic(struct hdr_histogram* h, int64_t value) in update_min_max_atomic()
168 static int32_t get_bucket_index(const struct hdr_histogram* h, int64_t value) in get_bucket_index()
179 static int32_t counts_index(const struct hdr_histogram* h, int32_t bucket_index, int32_t sub_bucket… in counts_index()
195 int32_t counts_index_for(const struct hdr_histogram* h, int64_t value) in counts_index_for()
203 int64_t hdr_value_at_index(const struct hdr_histogram *h, int32_t index) in hdr_value_at_index()
217 int64_t hdr_size_of_equivalent_value_range(const struct hdr_histogram* h, int64_t value) in hdr_size_of_equivalent_value_range()
226 const struct hdr_histogram *h, in size_of_equivalent_value_range_given_bucket_indices()
234 static int64_t lowest_equivalent_value(const struct hdr_histogram* h, int64_t value) in lowest_equivalent_value()
242 const struct hdr_histogram *h, in lowest_equivalent_value_given_bucket_indices()
249 int64_t hdr_next_non_equivalent_value(const struct hdr_histogram *h, int64_t value) in hdr_next_non_equivalent_value()
254 static int64_t highest_equivalent_value(const struct hdr_histogram* h, int64_t value) in highest_equivalent_value()
259 int64_t hdr_median_equivalent_value(const struct hdr_histogram *h, int64_t value) in hdr_median_equivalent_value()
264 static int64_t non_zero_min(const struct hdr_histogram* h) in non_zero_min()
274 void hdr_reset_internal_counters(struct hdr_histogram* h) in hdr_reset_internal_counters()
389 void hdr_init_preallocated(struct hdr_histogram* h, struct hdr_histogram_bucket_config* cfg) in hdr_init_preallocated()
445 void hdr_close(struct hdr_histogram* h) in hdr_close()
459 void hdr_reset(struct hdr_histogram *h) in hdr_reset()
467 size_t hdr_get_memory_size(struct hdr_histogram *h) in hdr_get_memory_size()
481 bool hdr_record_value(struct hdr_histogram* h, int64_t value) in hdr_record_value()
486 bool hdr_record_value_atomic(struct hdr_histogram* h, int64_t value) in hdr_record_value_atomic()
491 bool hdr_record_values(struct hdr_histogram* h, int64_t value, int64_t count) in hdr_record_values()
513 bool hdr_record_values_atomic(struct hdr_histogram* h, int64_t value, int64_t count) in hdr_record_values_atomic()
535 bool hdr_record_corrected_value(struct hdr_histogram* h, int64_t value, int64_t expected_interval) in hdr_record_corrected_value()
540 bool hdr_record_corrected_value_atomic(struct hdr_histogram* h, int64_t value, int64_t expected_int… in hdr_record_corrected_value_atomic()
545 bool hdr_record_corrected_values(struct hdr_histogram* h, int64_t value, int64_t count, int64_t exp… in hdr_record_corrected_values()
571 bool hdr_record_corrected_values_atomic(struct hdr_histogram* h, int64_t value, int64_t count, int6… in hdr_record_corrected_values_atomic()
597 int64_t hdr_add(struct hdr_histogram* h, const struct hdr_histogram* from) in hdr_add()
618 struct hdr_histogram* h, struct hdr_histogram* from, int64_t expected_interval) in hdr_add_while_correcting_for_coordinated_omission()
649 int64_t hdr_max(const struct hdr_histogram* h) in hdr_max()
659 int64_t hdr_min(const struct hdr_histogram* h) in hdr_min()
669 static int64_t get_value_from_idx_up_to_count(const struct hdr_histogram* h, int64_t count_at_perce… in get_value_from_idx_up_to_count()
687 int64_t hdr_value_at_percentile(const struct hdr_histogram* h, double percentile) in hdr_value_at_percentile()
700 int hdr_value_at_percentiles(const struct hdr_histogram *h, const double *percentiles, int64_t *val… in hdr_value_at_percentiles()
734 double hdr_mean(const struct hdr_histogram* h) in hdr_mean()
754 double hdr_stddev(const struct hdr_histogram* h) in hdr_stddev()
774 bool hdr_values_are_equivalent(const struct hdr_histogram* h, int64_t a, int64_t b) in hdr_values_are_equivalent()
779 int64_t hdr_lowest_equivalent_value(const struct hdr_histogram* h, int64_t value) in hdr_lowest_equivalent_value()
784 int64_t hdr_count_at_value(const struct hdr_histogram* h, int64_t value) in hdr_count_at_value()
789 int64_t hdr_count_at_index(const struct hdr_histogram* h, int32_t index) in hdr_count_at_index()
885 void hdr_iter_init(struct hdr_iter* iter, const struct hdr_histogram* h) in hdr_iter_init()
960 void hdr_iter_percentile_init(struct hdr_iter* iter, const struct hdr_histogram* h, int32_t ticks_p… in hdr_iter_percentile_init()
1026 void hdr_iter_recorded_init(struct hdr_iter* iter, const struct hdr_histogram* h) in hdr_iter_recorded_init()
1081 void hdr_iter_linear_init(struct hdr_iter* iter, const struct hdr_histogram* h, int64_t value_units… in hdr_iter_linear_init()
1138 const struct hdr_histogram* h, in hdr_iter_log_init()
1171 struct hdr_histogram* h, FILE* stream, int32_t ticks_per_half_distance, in hdr_percentiles_print()