Home
last modified time | relevance | path

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

/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp214 float targetTime = 0.2f; in runMemoryBandwidthTest() local
215 if (dt > targetTime) { in runMemoryBandwidthTest()
216 mMemLoopCount = (size_t)((double)mMemLoopCount / (dt / targetTime)); in runMemoryBandwidthTest()
273 float targetTime = 0.2f; in runMemoryLatencyTest() local
274 if (dts > targetTime) { in runMemoryLatencyTest()
275 mMemLoopCount = (size_t)((double)mMemLoopCount / (dts / targetTime)); in runMemoryLatencyTest()
/frameworks/native/services/surfaceflinger/Scheduler/
DDispSync.cpp140 nsecs_t targetTime = 0; in threadLoop() local
164 targetTime = computeNextEventTimeLocked(now); in threadLoop()
168 if (now < targetTime) { in threadLoop()
171 if (targetTime == INT64_MAX) { in threadLoop()
175 ALOGV("[%s] Waiting until %" PRId64, mName, ns2us(targetTime)); in threadLoop()
176 err = mCond.waitRelative(mMutex, targetTime - now); in threadLoop()
193 mWakeupLatency = ((mWakeupLatency * 63) + (now - targetTime)) / 64; in threadLoop()
196 ATRACE_INT64("DispSync:WakeupLat", now - targetTime); in threadLoop()
/frameworks/base/cmds/bmgr/src/com/android/commands/bmgr/
DBmgr.java337 final long targetTime = SystemClock.elapsedRealtime() + timeout; in waitForCompletion() local
340 while (!done && (timeout <= 0 || SystemClock.elapsedRealtime() < targetTime)) { in waitForCompletion()