Home
last modified time | relevance | path

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

/hardware/google/aemu/base/
Dring_buffer_unittest.cpp101 static void writeTest(ring_buffer* r, const uint8_t* data, size_t stepSize, size_t numSteps) { in writeTest() argument
103 size_t bytes = stepSize * numSteps; in writeTest()
105 while (stepsWritten < numSteps) { in writeTest()
115 uint32_t stepsRemaining = numSteps - stepsWritten; in writeTest()
128 static void readTest(ring_buffer* r, uint8_t* data, size_t stepSize, size_t numSteps) { in readTest() argument
130 size_t bytes = stepSize * numSteps; in readTest()
132 while (stepsRead < numSteps) { in readTest()
142 uint32_t stepsRemaining = numSteps - stepsRead; in readTest()
217 size_t numSteps = kNumElts / stepSize; in TEST() local
224 FunctorThread producer([&r, &elements, stepSize, numSteps]() { in TEST()
[all …]