Home
last modified time | relevance | path

Searched refs:KllQuantile (Results 1 – 5 of 5) sorted by relevance

/aosp12/packages/modules/StatsD/lib/libkll/
H A Dkll.cpp32 std::unique_ptr<KllQuantile> KllQuantile::Create(std::string* error) { in Create()
36 std::unique_ptr<KllQuantile> KllQuantile::Create(const KllQuantileOptions& options, in Create()
44 return std::unique_ptr<KllQuantile>( in Create()
45 new KllQuantile(options.inv_eps(), options.inv_delta(), options.k(), options.random())); in Create()
48 void KllQuantile::Add(const int64_t value) { in Add()
55 void KllQuantile::AddWeighted(int64_t value, int weight) { in AddWeighted()
64 AggregatorStateProto KllQuantile::SerializeToProto() { in SerializeToProto()
117 void KllQuantile::UpdateMin(int64_t value) { in UpdateMin()
123 void KllQuantile::UpdateMax(int64_t value) { in UpdateMax()
129 void KllQuantile::Reset() { in Reset()
/aosp12/packages/modules/StatsD/lib/libkll/include/
H A Dkll.h34 class KllQuantile {
36 static std::unique_ptr<KllQuantile> Create(std::string* error = nullptr);
37 static std::unique_ptr<KllQuantile> Create(const KllQuantileOptions& options,
74 KllQuantile(int64_t inv_eps, int64_t inv_delta, int k, RandomGenerator* random) in KllQuantile() function
96 KllQuantile(const KllQuantile&) = delete;
97 KllQuantile& operator=(const KllQuantile&) = delete;
/aosp12/packages/modules/StatsD/lib/libkll/tests/
H A Dkll_test.cpp35 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST()
51 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST()
91 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(options); in TEST()
123 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(options); in TEST()
149 std::unique_ptr<KllQuantile> aggregator = KllQuantile::Create(); in TEST()
/aosp12/frameworks/native/services/inputflinger/dispatcher/
H A DLatencyAggregator.h80 std::array<std::unique_ptr<dist_proc::aggregation::KllQuantile>, SketchIndex::SIZE>
82 std::array<std::unique_ptr<dist_proc::aggregation::KllQuantile>, SketchIndex::SIZE>
H A DLatencyAggregator.cpp28 using dist_proc::aggregation::KllQuantile;
85 explicit SafeBytesField(dist_proc::aggregation::KllQuantile& quantile) { in SafeBytesField()
104 mDownSketches[i] = KllQuantile::Create(options); in LatencyAggregator()
105 mMoveSketches[i] = KllQuantile::Create(options); in LatencyAggregator()
135 std::array<std::unique_ptr<KllQuantile>, SketchIndex::SIZE>& sketches = in processStatistics()