Searched refs:numSteps (Results 1 – 1 of 1) sorted by relevance
101 static void writeTest(ring_buffer* r, const uint8_t* data, size_t stepSize, size_t numSteps) { in writeTest() argument103 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() argument130 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() local224 FunctorThread producer([&r, &elements, stepSize, numSteps]() { in TEST()[all …]