Searched defs:cpu (Results 1 - 4 of 4) sorted by relevance

/bionic/libc/bionic/
H A Dsched_getcpu.c31 extern int __getcpu(unsigned *cpu, unsigned *node, void* unused);
35 unsigned cpu; local
36 if (__getcpu(&cpu, NULL, NULL) < 0)
39 return (int)cpu;
/bionic/libc/kernel/common/linux/
H A Dcpu.h27 struct cpu { struct
H A Drelay.h55 unsigned int cpu; member in struct:rchan_buf
/bionic/libc/unistd/
H A Dsysconf.c73 // The %c trick is to ensure that we have the anchored match "^cpu[0-9]+$".
74 unsigned cpu; local
76 return (sscanf(s, "cpu%u%c", &cpu, &dummy) == 1);
82 DIR* d = opendir("/sys/devices/system/cpu");

Completed in 70 milliseconds