Home
last modified time | relevance | path

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

/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp34 mMemLoopCount = 0; in Bench()
205 for (size_t ct = mMemLoopCount; ct > 0; ct--) { in runMemoryBandwidthTest()
211 double bw = ((double)size) * mMemLoopCount / dt; in runMemoryBandwidthTest()
216 mMemLoopCount = (size_t)((double)mMemLoopCount / (dt / targetTime)); in runMemoryBandwidthTest()
255 for (size_t ct = mMemLoopCount; ct > 0; ct--) { in runMemoryLatencyTest()
270 double lat = dt / (loops * mMemLoopCount); in runMemoryLatencyTest()
275 mMemLoopCount = (size_t)((double)mMemLoopCount / (dts / targetTime)); in runMemoryLatencyTest()
276 if (mMemLoopCount < 1) { in runMemoryLatencyTest()
277 mMemLoopCount = 1; in runMemoryLatencyTest()
292 mMemLoopCount = 1; in startMemTests()
[all …]
DBench.h86 size_t mMemLoopCount; variable