Searched refs:cpu_mask (Results 1 – 6 of 6) sorted by relevance
/external/autotest/client/tests/kvm/tests/ |
D | timedrift.py | 73 cpu_mask = params.get("cpu_mask", "0xFF") 85 prev_affinity = set_cpu_affinity(vm.get_shell_pid(), cpu_mask) 122 set_cpu_affinity(pid, cpu_mask)
|
/external/fio/ |
D | idletime.c | 49 fio_cpuset_exit(&ipt->cpu_mask); in free_cpu_affinity() 56 if (fio_cpuset_init(&ipt->cpu_mask)) { in set_cpu_affinity() 61 fio_cpu_set(&ipt->cpu_mask, ipt->cpu); in set_cpu_affinity() 63 if (fio_setaffinity(gettid(), ipt->cpu_mask)) { in set_cpu_affinity() 65 fio_cpuset_exit(&ipt->cpu_mask); in set_cpu_affinity()
|
D | gettime.c | 482 os_cpu_mask_t cpu_mask; in clock_thread_fn() local 486 if (fio_cpuset_init(&cpu_mask)) { in clock_thread_fn() 493 fio_cpu_set(&cpu_mask, t->cpu); in clock_thread_fn() 495 if (fio_setaffinity(gettid(), cpu_mask) == -1) { in clock_thread_fn() 537 fio_cpuset_exit(&cpu_mask); in clock_thread_fn() 540 fio_cpuset_exit(&cpu_mask); in clock_thread_fn()
|
D | idletime.h | 38 os_cpu_mask_t cpu_mask; member
|
/external/blktrace/ |
D | blktrace.c | 610 cpu_set_t cpu_mask; in lock_on_cpu() local 612 CPU_ZERO(&cpu_mask); in lock_on_cpu() 613 CPU_SET(cpu, &cpu_mask); in lock_on_cpu() 614 if (sched_setaffinity(0, sizeof(cpu_mask), &cpu_mask) < 0) in lock_on_cpu()
|
/external/autotest/client/tests/kvm/ |
D | subtests.cfg.sample | 278 cpu_mask = 0x1 308 cpu_mask = 0x1
|