Searched refs:cpu_mask_ (Results 1 – 2 of 2) sorted by relevance
273 memcpy(&cpu_mask_, mask, sizeof(*mask)); in set_cpu_mask()277 cpuset_set_ab(&cpu_mask_, cpu_num, cpu_num + 1); in set_cpu_mask_to_cpu()380 cpu_set_t cpu_mask_; // Cores this thread is allowed to run on. variable
294 AvailableCpus(&cpu_mask_); in InitThread()305 bool ret = BindToCpus(&cpu_mask_); in InitPriority()308 cpuset_format(&cpu_mask_).c_str()); in InitPriority()313 cpuset_format(&cpu_mask_).c_str()); in InitPriority()1479 thread_num_, cpuset_format(&cpu_mask_).c_str(), tag_); in Work()