Home
last modified time | relevance | path

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

/external/perfetto/src/trace_processor/containers/
Dbit_vector_benchmark.cc50 BitVector BvWithSizeAndSetPercentage(uint32_t size, uint32_t set_percentage) { in BvWithSizeAndSetPercentage() argument
56 if (rnd_engine() % 100 < set_percentage) { in BvWithSizeAndSetPercentage()
90 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorSet() local
92 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorSet()
116 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorClear() local
118 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorClear()
140 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorIndexOfNthSet() local
142 BitVector bv = BvWithSizeAndSetPercentage(size, set_percentage); in BM_BitVectorIndexOfNthSet()
166 uint32_t set_percentage = static_cast<uint32_t>(state.range(1)); in BM_BitVectorGetNumBitsSet() local
171 bool value = rnd_engine() % 100 < set_percentage; in BM_BitVectorGetNumBitsSet()
[all …]