MCPcopy Create free account
hub / github.com/NodeDB-Lab/nodedb / count

Method count

nodedb/src/control/metrics/histogram.rs:91–93  ·  view source on GitHub ↗

Total observation count.

(&self)

Source from the content-addressed store, hash-verified

89
90 /// Total observation count.
91 pub fn count(&self) -> u64 {
92 self.count.load(Ordering::Relaxed)
93 }
94
95 /// Sum of all observations in microseconds.
96 pub fn sum_us(&self) -> u64 {

Callers 15

snapshotMethod · 0.45
cap_duration_tenant_mapFunction · 0.45
count_passingFunction · 0.45
changesFunction · 0.45
resetsFunction · 0.45
count_matching_leasesFunction · 0.45
count_activeMethod · 0.45
shards_on_coreMethod · 0.45
dense_float_filterFunction · 0.45
sparse_symbol_eq_filterFunction · 0.45
symbol_eq_not_in_dictFunction · 0.45

Calls 1

loadMethod · 0.45

Tested by 15

dense_float_filterFunction · 0.36
sparse_symbol_eq_filterFunction · 0.36
symbol_eq_not_in_dictFunction · 0.36
combined_filtersFunction · 0.36
dict_dense_eq_filterFunction · 0.36
row_countFunction · 0.36