Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuCore.cpp104 memset(&mWorkers, 0, sizeof(mWorkers)); in RsdCpuReferenceImpl()
116 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); in helperThreadProc()
120 dc->mWorkers.mLaunchSignals[idx].init(); in helperThreadProc()
121 dc->mWorkers.mNativeThreadId[idx] = gettid(); in helperThreadProc()
134 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], in helperThreadProc()
140 dc->mWorkers.mLaunchSignals[idx].wait(); in helperThreadProc()
141 if (dc->mWorkers.mLaunchCallback) { in helperThreadProc()
143 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx+1); in helperThreadProc()
145 __sync_fetch_and_sub(&dc->mWorkers.mRunningCount, 1); in helperThreadProc()
146 dc->mWorkers.mCompleteSignal.set(); in helperThreadProc()
[all …]
DrsCpuCore.h161 return mWorkers.mCount + 1; in getThreadCount()
238 Workers mWorkers; variable