Home
last modified time | relevance | path

Searched refs:sub_bucket_half_count_magnitude (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/histogram/src/
Dhdr_histogram.c165 return pow2ceiling - h->unit_magnitude - (h->sub_bucket_half_count_magnitude + 1); in get_bucket_index()
177 int32_t bucket_base_index = (bucket_index + 1) << h->sub_bucket_half_count_magnitude; in counts_index()
199 int32_t bucket_index = (index >> h->sub_bucket_half_count_magnitude) - 1; in hdr_value_at_index()
342 …cfg->sub_bucket_half_count_magnitude = ((sub_bucket_count_magnitude > 1) ? sub_bucket_count_magnit… in hdr_calculate_bucket_config()
351 cfg->sub_bucket_count = (int32_t) pow(2, (cfg->sub_bucket_half_count_magnitude + 1)); in hdr_calculate_bucket_config()
355 if (cfg->unit_magnitude + cfg->sub_bucket_half_count_magnitude > 61) in hdr_calculate_bucket_config()
372 h->sub_bucket_half_count_magnitude = cfg->sub_bucket_half_count_magnitude; in hdr_init_preallocated()
Dhdr_histogram.h23 int32_t sub_bucket_half_count_magnitude; member
472 int32_t sub_bucket_half_count_magnitude; member