Home
last modified time | relevance | path

Searched refs:AddWithWeight (Results 1 – 7 of 7) sorted by relevance

/packages/modules/StatsD/lib/libkll/tests/
Dsampler_test.cpp149 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()
Dcompactor_stack_test.cpp97 sampler.AddWithWeight(dis(gen), weight); in TEST_P()
249 compactor_stack.AddWithWeight(10.0, weight); in TEST_P()
/packages/modules/StatsD/lib/libkll/
Dsampler.cpp45 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()
Dcompactor_stack.cpp67 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()
Dkll.cpp57 compactor_stack_.AddWithWeight(value, weight); in AddWeighted()
/packages/modules/StatsD/lib/libkll/include/
Dsampler.h48 void AddWithWeight(int64_t item, int weight);
Dcompactor_stack.h51 void AddWithWeight(int64_t value, int weight);