Home
last modified time | relevance | path

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

/packages/modules/StatsD/lib/libkll/
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()
/packages/modules/StatsD/lib/libkll/tests/
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()
/packages/modules/StatsD/lib/libkll/include/
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;