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/
H A Dhdr_histogram.c171 return pow2ceiling - h->unit_magnitude - (h->sub_bucket_half_count_magnitude + 1); in get_bucket_index()
183 int32_t bucket_base_index = (bucket_index + 1) << h->sub_bucket_half_count_magnitude; in counts_index()
205 int32_t bucket_index = (index >> h->sub_bucket_half_count_magnitude) - 1; in hdr_value_at_index()
365 cfg->sub_bucket_half_count_magnitude = ((sub_bucket_count_magnitude > 1) ? sub_bucket_count_magnitude : 1) - 1; in hdr_calculate_bucket_config()
374 cfg->sub_bucket_count = (int32_t) pow(2, (cfg->sub_bucket_half_count_magnitude + 1)); in hdr_calculate_bucket_config()
378 if (cfg->unit_magnitude + cfg->sub_bucket_half_count_magnitude > 61) in hdr_calculate_bucket_config()
395 h->sub_bucket_half_count_magnitude = cfg->sub_bucket_half_count_magnitude; in hdr_init_preallocated()
/third_party/node/deps/histogram/include/hdr/
H A Dhdr_histogram.h23 int32_t sub_bucket_half_count_magnitude; member
484 int32_t sub_bucket_half_count_magnitude; member

Completed in 5 milliseconds