Searched refs:sched_getcpu (Results 1 - 4 of 4) sorted by relevance

/openjdk7/hotspot/src/os/bsd/vm/
H A Dos_bsd.hpp256 static int sched_getcpu() { return _sched_getcpu != NULL ? _sched_getcpu() : -1; } function in class:Bsd
H A Dos_bsd.cpp3037 // sched_getcpu() should be in libc.
3039 dlsym(RTLD_DEFAULT, "sched_getcpu")));
3041 if (sched_getcpu() != -1) { // Does it work?
/openjdk7/hotspot/src/os/linux/vm/
H A Dos_linux.hpp242 static int sched_getcpu() { return _sched_getcpu != NULL ? _sched_getcpu() : -1; } function in class:Linux
H A Dos_linux.cpp2820 int cpu_id = Linux::sched_getcpu();
2889 // sched_getcpu() should be in libc.
2891 dlsym(RTLD_DEFAULT, "sched_getcpu")));
2894 if (sched_getcpu() == -1)
2897 if (sched_getcpu() != -1) { // Does it work?

Completed in 56 milliseconds