Struct glean_core::metrics::DistributionData
source · pub struct DistributionData {
pub values: HashMap<i64, i64>,
pub sum: i64,
pub count: i64,
}
Expand description
A snapshot of all buckets and the accumulated sum of a distribution.
Fields§
§values: HashMap<i64, i64>
A map containig the bucket index mapped to the accumulated count.
This can contain buckets with a count of 0
.
sum: i64
The accumulated sum of all the samples in the distribution.
count: i64
The total number of entries in the distribution.