Searched refs:AddWithWeight (Results 1 – 7 of 7) sorted by relevance
/packages/modules/StatsD/lib/libkll/tests/ |
D | sampler_test.cpp | 149 sampler.AddWithWeight(5, 0); in TEST_F() 156 sampler.AddWithWeight(5, 1); in TEST_F() 163 sampler.AddWithWeight(1, 2); in TEST_F() 175 sampler.AddWithWeight(3, 3); in TEST_F() 190 sampler.AddWithWeight(2, 3); in TEST_F() 201 sampler.AddWithWeight(3, 5); in TEST_F()
|
D | compactor_stack_test.cpp | 97 sampler.AddWithWeight(dis(gen), weight); in TEST_P() 249 compactor_stack.AddWithWeight(10.0, weight); in TEST_P()
|
/packages/modules/StatsD/lib/libkll/ |
D | sampler.cpp | 45 void KllSampler::AddWithWeight(int64_t item, int weight) { in AddWithWeight() function in dist_proc::aggregation::internal::KllSampler 61 AddWithWeight(item, weight - added_weight); in AddWithWeight() 72 compactor_stack_->AddWithWeight(sampled_item_, item_weight_); in AddSampleToCompactorStackAndRestart()
|
D | compactor_stack.cpp | 67 void CompactorStack::AddWithWeight(int64_t value, int weight) { in AddWithWeight() function in dist_proc::aggregation::internal::CompactorStack 72 sampler_->AddWithWeight(value, remaining_weight % sampler_->capacity()); in AddWithWeight()
|
D | kll.cpp | 57 compactor_stack_.AddWithWeight(value, weight); in AddWeighted()
|
/packages/modules/StatsD/lib/libkll/include/ |
D | sampler.h | 48 void AddWithWeight(int64_t item, int weight);
|
D | compactor_stack.h | 51 void AddWithWeight(int64_t value, int weight);
|