Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuCore.cpp92 memset(&mWorkers, 0, sizeof(mWorkers)); in RsdCpuReferenceImpl()
104 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); in helperThreadProc()
108 dc->mWorkers.mLaunchSignals[idx].init(); in helperThreadProc()
109 dc->mWorkers.mNativeThreadId[idx] = gettid(); in helperThreadProc()
122 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], in helperThreadProc()
128 dc->mWorkers.mLaunchSignals[idx].wait(); in helperThreadProc()
129 if (dc->mWorkers.mLaunchCallback) { in helperThreadProc()
131 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx+1); in helperThreadProc()
133 __sync_fetch_and_sub(&dc->mWorkers.mRunningCount, 1); in helperThreadProc()
134 dc->mWorkers.mCompleteSignal.set(); in helperThreadProc()
[all …]
DrsCpuCore.h163 return mWorkers.mCount + 1; in getThreadCount()
240 Workers mWorkers; variable
/frameworks/base/tests/JankBench/app/src/main/jni/
DBench.cpp88 int workers = mWorkers.getWorkerCount(); in initIP()
133 mWorkers.launchWork(testWork, this, threads); in runPowerManagementTest()
158 mWorkers.init(); in init()
198 mWorkers.launchWork(testWork, this, 0); in runCPUHeatSoak()
346 mWorkers.launchWork(testWork, this, 0); in runGFlopsTest()
DBench.h76 WorkerPool mWorkers;