Home
last modified time | relevance | path

Searched refs:cpuset (Results 1 – 8 of 8) sorted by relevance

/external/stressapptest/src/
Dsattypes.h116 static inline int cpuset_count(const cpu_set_t *cpuset) { in cpuset_count() argument
119 if (CPU_ISSET(i, cpuset)) in cpuset_count()
124 static inline void cpuset_set_ab(cpu_set_t *cpuset, int a, int b) { in cpuset_set_ab() argument
125 CPU_ZERO(cpuset); in cpuset_set_ab()
127 CPU_SET(i, cpuset); in cpuset_set_ab()
130 static inline string cpuset_format(const cpu_set_t *cpuset) { in cpuset_format() argument
134 if (CPU_ISSET(i, cpuset)) { in cpuset_format()
Dworker.h285 bool AvailableCpus(cpu_set_t *cpuset);
287 bool CurrentCpus(cpu_set_t *cpuset);
298 bool BindToCpus(const cpu_set_t *cpuset);
Dworker.cc403 bool WorkerThread::AvailableCpus(cpu_set_t *cpuset) { in AvailableCpus() argument
404 CPU_ZERO(cpuset); in AvailableCpus()
406 return sched_getaffinity(getppid(), sizeof(*cpuset), cpuset) == 0; in AvailableCpus()
417 bool WorkerThread::CurrentCpus(cpu_set_t *cpuset) { in CurrentCpus() argument
418 CPU_ZERO(cpuset); in CurrentCpus()
420 return sched_getaffinity(0, sizeof(*cpuset), cpuset) == 0; in CurrentCpus()
Dsat.cc1082 cpu_set_t *cpuset = os_->FindCoreMask(region); in InitializeThreads() local
1083 sat_assert(cpuset); in InitializeThreads()
1086 thread->set_cpu_mask(cpuset); in InitializeThreads()
1090 thread->set_cpu_mask(cpuset); in InitializeThreads()
/external/skia/src/utils/
DSkThreadUtils_pthread_linux.cpp40 cpu_set_t cpuset; in setProcessorAffinity() local
41 CPU_ZERO(&cpuset); in setProcessorAffinity()
42 CPU_SET(nth_set_cpu(processor, &parentCpuset), &cpuset); in setProcessorAffinity()
45 &cpuset); in setProcessorAffinity()
/external/kernel-headers/original/linux/
Dmempolicy.h155 (cpuset_being_rebound == current->cpuset)
Dsched.h713 struct cpuset;
977 struct cpuset *cpuset; member
/external/llvm/test/Analysis/ScalarEvolution/
Davoid-infinite-recursion-1.ll53 %struct.cpuset = type opaque
111 …10, %9, %struct.prison*, %struct.mtx, %struct.task, %struct.osd, %struct.cpuset*, %struct.vnet*, %…
138 …%struct.thread = type <{ %struct.mtx*, %struct.proc*, %8, %8, %8, %8, %struct.cpuset*, %struct.sel…