Home
last modified time | relevance | path

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

/third_party/node/deps/histogram/src/
Dhdr_histogram.c41 adjustment = h->counts_len; in normalize_index()
43 else if (normalized_index >= h->counts_len) in normalize_index()
45 adjustment = -h->counts_len; in normalize_index()
258 for (i = 0; i < h->counts_len; i++) in hdr_reset_internal_counters()
361 cfg->counts_len = (cfg->bucket_count + 1) * (cfg->sub_bucket_count / 2); in hdr_calculate_bucket_config()
381 h->counts_len = cfg->counts_len; in hdr_init_preallocated()
401 counts = (int64_t*) calloc((size_t) cfg.counts_len, sizeof(int64_t)); in hdr_init()
441 memset(h->counts, 0, (sizeof(int64_t) * h->counts_len)); in hdr_reset()
446 return sizeof(struct hdr_histogram) + h->counts_len * sizeof(int64_t); in hdr_get_memory_size()
479 if (counts_index < 0 || h->counts_len <= counts_index) in hdr_record_values()
[all …]
Dhdr_histogram.h32 int32_t counts_len; member
477 int32_t counts_len; member