Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/src/System/
DCPUID.cpp104 DWORD_PTR processAffinityMask = 1; in coreCount() local
107 GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in coreCount()
133 DWORD_PTR processAffinityMask = 1; in processAffinity() local
136 GetProcessAffinityMask(GetCurrentProcess(), &processAffinityMask, &systemAffinityMask); in processAffinity()
138 while(processAffinityMask) in processAffinity()
140 if(processAffinityMask & 1) in processAffinity()
145 processAffinityMask >>= 1; in processAffinity()
/third_party/skia/third_party/externals/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()