Home
last modified time | relevance | path

Searched refs:sub_bucket_count (Results 1 - 2 of 2) sorted by relevance

/third_party/node/deps/histogram/src/
H A Dhdr_histogram.c221 int32_t adjusted_bucket = (sub_bucket_index >= h->sub_bucket_count) ? (bucket_index + 1) : bucket_index; in hdr_size_of_equivalent_value_range()
230 const int32_t adjusted_bucket = (sub_bucket_index >= h->sub_bucket_count) ? (bucket_index + 1) : bucket_index; in size_of_equivalent_value_range_given_bucket_indices()
318 static int32_t buckets_needed_to_cover_value(int64_t value, int32_t sub_bucket_count, int32_t unit_magnitude) in buckets_needed_to_cover_value() argument
320 int64_t smallest_untrackable_value = ((int64_t) sub_bucket_count) << unit_magnitude; in buckets_needed_to_cover_value()
374 cfg->sub_bucket_count = (int32_t) pow(2, (cfg->sub_bucket_half_count_magnitude + 1)); in hdr_calculate_bucket_config()
375 cfg->sub_bucket_half_count = cfg->sub_bucket_count / 2; in hdr_calculate_bucket_config()
376 cfg->sub_bucket_mask = ((int64_t) cfg->sub_bucket_count - 1) << cfg->unit_magnitude; in hdr_calculate_bucket_config()
383 cfg->bucket_count = buckets_needed_to_cover_value(highest_trackable_value, cfg->sub_bucket_count, (int32_t)cfg->unit_magnitude); in hdr_calculate_bucket_config()
384 cfg->counts_len = (cfg->bucket_count + 1) * (cfg->sub_bucket_count / 2); in hdr_calculate_bucket_config()
398 h->sub_bucket_count in hdr_init_preallocated()
[all...]
/third_party/node/deps/histogram/include/hdr/
H A Dhdr_histogram.h26 int32_t sub_bucket_count; member
487 int32_t sub_bucket_count; member

Completed in 3 milliseconds