android-components / mozilla.components.service.glean.histogram

Package mozilla.components.service.glean.histogram

Types

Name Summary
FunctionalHistogram data class FunctionalHistogram
This class represents a histogram where the bucketing is performed by a function, rather than pre-computed buckets. It is meant to help serialize and deserialize data to the correct format for transport and storage, as well as performing the calculations to determine the correct bucket for each sample.
PrecomputedHistogram data class PrecomputedHistogram
This class represents the structure of a custom distribution. It is meant to help serialize and deserialize data to the correct format for transport and storage, as well as including helper functions to calculate the bucket sizes.