Home
last modified time | relevance | path

Searched refs:processAffinityMask (Results 1 – 6 of 6) sorted by relevance

/external/swiftshader/src/System/
DCPUID.cpp237 DWORD_PTR processAffinityMask = 1; in detectCoreCount() local
240 GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in detectCoreCount()
266 DWORD_PTR processAffinityMask = 1; in detectAffinity() local
269 GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in detectAffinity()
271 while(processAffinityMask) in detectAffinity()
273 if(processAffinityMask & 1) in detectAffinity()
278 processAffinityMask >>= 1; in detectAffinity()
/external/swiftshader/src/Common/
DCPUID.cpp235 DWORD_PTR processAffinityMask = 1; in detectCoreCount() local
238 GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in detectCoreCount()
264 DWORD_PTR processAffinityMask = 1; in detectAffinity() local
267 GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in detectAffinity()
269 while(processAffinityMask) in detectAffinity()
271 if(processAffinityMask & 1) in detectAffinity()
276 processAffinityMask >>= 1; in detectAffinity()
/external/lzma/CPP/Windows/
DSystem.h17 DWORD_PTR processAffinityMask; member
24 processAffinityMask = 1; in InitST()
28 UInt32 GetNumProcessThreads() const { return CountAffinity(processAffinityMask); } in GetNumProcessThreads()
DSystem.cpp27 return GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in Get()
44 if (pa.Get() && pa.processAffinityMask != 0) in GetNumberOfProcessors()
/external/lzma/CPP/7zip/UI/Common/
DBench.cpp1871 if (ti.processAffinityMask != ti.systemAffinityMask) in GetProcessThreadsInfo()
1879 PrintHex(s, ti.processAffinityMask); in GetProcessThreadsInfo()
2806 if (threadsInfo.Get() && threadsInfo.processAffinityMask != 0) in Bench()
/external/iperf3/src/
Diperf_api.c4265 DWORD_PTR processAffinityMask = 1 << affinity; in iperf_setaffinity()
4267 if (SetProcessAffinityMask(process, processAffinityMask) == 0) { in iperf_setaffinity()
4302 DWORD_PTR processAffinityMask; in iperf_clearaffinity()
4305 if (GetProcessAffinityMask(process, &processAffinityMask, &lpSystemAffinityMask) == 0 in iperf_clearaffinity()