Searched refs:cpu_set (Results 1 – 1 of 1) sorted by relevance
996 cpu_set_t cpu_set; in adb_set_affinity() local1007 sched_getaffinity(0, sizeof(cpu_set), &cpu_set); in adb_set_affinity()1008 D("orig cpu_set[0]=0x%08lx\n", cpu_set.__bits[0]); in adb_set_affinity()1009 CPU_ZERO(&cpu_set); in adb_set_affinity()1010 CPU_SET(cpu_num, &cpu_set); in adb_set_affinity()1011 sched_setaffinity(0, sizeof(cpu_set), &cpu_set); in adb_set_affinity()1012 sched_getaffinity(0, sizeof(cpu_set), &cpu_set); in adb_set_affinity()1013 D("new cpu_set[0]=0x%08lx\n", cpu_set.__bits[0]); in adb_set_affinity()