Home
last modified time | relevance | path

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

/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/swiftshader/src/System/
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/iperf3/src/
Diperf_api.c3949 DWORD_PTR processAffinityMask = 1 << affinity; in iperf_setaffinity()
3951 if (SetProcessAffinityMask(process, processAffinityMask) == 0) { in iperf_setaffinity()
3986 DWORD_PTR processAffinityMask; in iperf_clearaffinity()
3989 if (GetProcessAffinityMask(process, &processAffinityMask, &lpSystemAffinityMask) == 0 in iperf_clearaffinity()
/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()