#include "services/metrics/public/cpp/metrics_utils.h"
#include <cmath>
#include "base/check.h"
#include "base/numerics/safe_conversions.h"
namespace ukm {
int64_t GetExponentialBucketMin(int64_t sample, double bucket_spacing) { … }
int64_t GetExponentialBucketMinForUserTiming(int64_t sample) { … }
int64_t GetExponentialBucketMinForFineUserTiming(int64_t sample) { … }
int64_t GetExponentialBucketMinForCounts1000(int64_t sample) { … }
int64_t GetExponentialBucketMinForBytes(int64_t sample) { … }
int64_t GetExponentialBucketMinForBytesUnder1KB(int64_t sample) { … }
int64_t GetLinearBucketMin(int64_t sample, int32_t bucket_size) { … }
int64_t GetLinearBucketMin(double sample, int32_t bucket_size) { … }
int64_t METRICS_EXPORT GetSemanticBucketMinForDurationTiming(int64_t sample) { … }
}