Searched refs:cpu_mask_ (Results 1 – 2 of 2) sorted by relevance
275 memcpy(&cpu_mask_, mask, sizeof(*mask)); in set_cpu_mask()279 cpuset_set_ab(&cpu_mask_, cpu_num, cpu_num + 1); in set_cpu_mask_to_cpu()381 cpu_set_t cpu_mask_; // Cores this thread is allowed to run on. variable
302 AvailableCpus(&cpu_mask_); in InitThread()313 bool ret = BindToCpus(&cpu_mask_); in InitPriority()316 cpuset_format(&cpu_mask_).c_str()); in InitPriority()321 cpuset_format(&cpu_mask_).c_str()); in InitPriority()1486 thread_num_, cpuset_format(&cpu_mask_).c_str(), tag_); in Work()