Home
last modified time | relevance | path

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

/frameworks/rs/cpu_ref/
DrsCpuCore.cpp109 memset(&mWorkers, 0, sizeof(mWorkers)); in RsdCpuReferenceImpl()
123 uint32_t idx = __sync_fetch_and_add(&dc->mWorkers.mLaunchCount, 1); in helperThreadProc()
127 dc->mWorkers.mLaunchSignals[idx].init(); in helperThreadProc()
128 dc->mWorkers.mNativeThreadId[idx] = gettid(); in helperThreadProc()
141 int ret = syscall(241, rsc->mWorkers.mNativeThreadId[idx], in helperThreadProc()
147 dc->mWorkers.mLaunchSignals[idx].wait(); in helperThreadProc()
148 if (dc->mWorkers.mLaunchCallback) { in helperThreadProc()
150 dc->mWorkers.mLaunchCallback(dc->mWorkers.mLaunchData, idx+1); in helperThreadProc()
152 __sync_fetch_and_sub(&dc->mWorkers.mRunningCount, 1); in helperThreadProc()
153 dc->mWorkers.mCompleteSignal.set(); in helperThreadProc()
[all …]
DrsCpuCore.h88 return mWorkers.mCount + 1; in getThreadCount()
177 Workers mWorkers; variable