Home
last modified time | relevance | path

Searched refs:cpu_number (Results 1 – 4 of 4) sorted by relevance

/external/libchrome/ipc/
Dipc_perftest_util.cc71 LockThreadAffinity::LockThreadAffinity(int cpu_number) in LockThreadAffinity() argument
74 const DWORD_PTR thread_mask = static_cast<DWORD_PTR>(1) << cpu_number; in LockThreadAffinity()
80 CPU_SET(cpu_number, &cpuset); in LockThreadAffinity()
88 LOG(WARNING) << "Failed to set thread affinity to CPU " << cpu_number; in LockThreadAffinity()
Dipc_perftest_util.h64 explicit LockThreadAffinity(int cpu_number);
/external/python/cpython3/Lib/
Dplatform.py755 csid, cpu_number = vms_lib.getsyi('SYI$_CPU', 0)
756 return 'Alpha' if cpu_number >= 128 else 'VAX'
/external/python/cpython2/Lib/
Dplatform.py1255 csid, cpu_number = vms_lib.getsyi('SYI$_CPU',0)
1256 if (cpu_number >= 128):