/bionic/libc/bionic/ |
sched_getaffinity.cpp | 35 int sched_getaffinity(pid_t pid, size_t set_size, cpu_set_t* set) { function
|
/external/toybox/toys/other/ |
taskset.c | 40 #define sched_getaffinity(pid, size, cpuset) \ macro 56 if (-1 == sched_getaffinity(pid, sizeof(toybuf), (void *)mask)) 124 if (!toys.optflags && -1!=sched_getaffinity(getpid(), 4096, toybuf)) {
|
/external/ltp/testcases/kernel/sched/hyperthreading/ht_affinity/ |
ht_affinity.c | 40 //Any application program can invoke these system call using sched_setaffinity() and sched_getaffinity(), 44 #define sched_getaffinity(pid, cpusetsize, mask) syscall(__NR_sched_getaffinity, pid, cpusetsize, mask) macro 162 sched_getaffinity(pid, sizeof(mask), mask1); 170 sched_getaffinity(pid, sizeof(mask), mask1); 194 sched_getaffinity(pid, sizeof(mask), mask);
|
/prebuilts/go/darwin-x86/src/runtime/ |
os_linux.go | 93 r := sched_getaffinity(0, unsafe.Sizeof(buf), &buf[0]) 384 func sched_getaffinity(pid, len uintptr, buf *uintptr) int32 func
|
/prebuilts/go/linux-x86/src/runtime/ |
os_linux.go | 93 r := sched_getaffinity(0, unsafe.Sizeof(buf), &buf[0]) 384 func sched_getaffinity(pid, len uintptr, buf *uintptr) int32 func
|