Searched refs:compactor_stack (Results 1 – 4 of 4) sorted by relevance
/packages/modules/StatsD/lib/libkll/tests/ |
D | compactor_stack_test.cpp | 64 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_P() local 65 KllSampler sampler(&compactor_stack); in TEST_P() 72 EXPECT_EQ(compactor_stack.num_stored_items(), params.num_items / sampler.capacity()); in TEST_P() 88 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_P() local 89 KllSampler sampler(&compactor_stack); in TEST_P() 100 EXPECT_EQ(compactor_stack.num_stored_items(), params.num_items / sampler.capacity()); in TEST_P() 121 CompactorStack compactor_stack(10, 10, &random_); in TEST_F() local 123 compactor_stack.Add(random_.UnbiasedUniform(std::numeric_limits<uint64_t>::max())); in TEST_F() 125 EXPECT_TRUE(compactor_stack.IsSamplerOn()); in TEST_F() 126 const auto& compactors = compactor_stack.compactors(); in TEST_F() [all …]
|
D | sampler_test.cpp | 47 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() local 48 KllSampler sampler(&compactor_stack); in TEST_F() 71 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() local 72 KllSampler sampler(&compactor_stack); in TEST_F() 77 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() local 78 KllSampler sampler(&compactor_stack); in TEST_F() 84 CompactorStack compactor_stack(1000, 100000, &random_); in TEST_F() local 85 KllSampler sampler(&compactor_stack); in TEST_F() 91 compactor_stack.compactors()[sampler.num_replaced_levels()]; in TEST_F() 94 EXPECT_EQ(compactor_stack.num_stored_items(), 1); in TEST_F() [all …]
|
/packages/modules/StatsD/lib/libkll/include/ |
D | sampler.h | 37 KllSampler(CompactorStack* compactor_stack) : compactor_stack_(compactor_stack) { in KllSampler() argument 38 assert(compactor_stack != nullptr); in KllSampler()
|
/packages/modules/StatsD/lib/libkll/ |
D | Android.bp | 27 "compactor_stack.cpp",
|