Home
last modified time | relevance | path

Searched refs:sched_getcpu (Results 1 – 25 of 39) sorted by relevance

12

/external/grpc-grpc/src/core/lib/gpr/
Dcpu_linux.cc40 if (sched_getcpu() < 0) { in init_num_cpus()
69 int cpu = sched_getcpu(); in gpr_cpu_current_cpu()
/external/rust/crates/grpcio-sys/grpc/src/core/lib/gpr/
Dcpu_linux.cc40 if (sched_getcpu() < 0) { in init_num_cpus()
69 int cpu = sched_getcpu(); in gpr_cpu_current_cpu()
/external/linux-kselftest/tools/testing/selftests/powerpc/dscr/
Ddscr_sysfs_thread_test.c24 sched_getcpu(), val, cur_dscr); in test_thread_dscr()
30 sched_getcpu(), val, cur_dscr_usr); in test_thread_dscr()
/external/linux-kselftest/tools/testing/selftests/rseq/
Dbasic_test.c28 assert(sched_getcpu() == i); in test_cpu_pointer()
Drseq.c133 cpu = sched_getcpu(); in rseq_fallback_current_cpu()
/external/llvm-project/openmp/runtime/test/ompt/misc/
Dapi_calls_places.c51 sched_getcpu()); in main()
/external/tensorflow/tensorflow/core/platform/default/
Dport.cc110 return sched_getcpu(); in GetCurrentCPU()
112 return sched_getcpu(); in GetCurrentCPU()
/external/oboe/samples/shared/
DDefaultDataCallback.h109 int current_cpu_id = sched_getcpu(); in setThreadAffinity()
/external/ltp/testcases/kernel/syscalls/getcpu/
Dgetcpu01.c30 *cpu_id = sched_getcpu(); in get_cpu()
/external/jemalloc_new/include/jemalloc/internal/
Djemalloc_internal_inlines_a.h14 return (malloc_cpuid_t)sched_getcpu(); in malloc_getcpu()
Djemalloc_preamble.h.in165 /* Currently percpu_arena depends on sched_getcpu. */
Djemalloc_internal_defs.h.in338 /* GNU specific sched_getcpu support */
/external/XNNPACK/bench/
Dutils.cc110 int cpu = sched_getcpu(); in GetCurrentCpuFrequency()
/external/mesa3d/src/util/
Du_thread.h71 return sched_getcpu(); in util_get_current_cpu()
/external/angle/third_party/abseil-cpp/absl/debugging/
Dfailure_signal_handler.cc351 my_cpu = sched_getcpu(); in AbslFailureSignalHandler()
/external/ltp/testcases/kernel/syscalls/perf_event_open/
Dperf_event_open02.c211 int cpu = sched_getcpu(); in bind_to_current_cpu()
/external/ltp/
Dconfigure.ac93 sched_getcpu \
/external/stressapptest/src/
Dworker.cc311 thread_num_, sched_getcpu(), in InitPriority()
575 int core_id = sched_getcpu(); in ProcessError()
938 int core_id = sched_getcpu(); in ProcessTagError()
1232 int core_id = sched_getcpu(); in CrcCopyPage()
1378 int core_id = sched_getcpu(); in CrcWarmCopyPage()
/external/llvm-project/openmp/runtime/src/
Dompt-general.cpp765 return sched_getcpu();
/external/compiler-rt/lib/dfsan/
Ddone_abilist.txt125 fun:sched_getcpu=discard
/external/llvm-project/compiler-rt/lib/dfsan/
Ddone_abilist.txt159 fun:sched_getcpu=discard
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc713 cpu = sched_getcpu(); in PinThreadToCPU()
/external/rust/crates/libc/src/unix/linux_like/linux/musl/
Dmod.rs694 pub fn sched_getcpu() -> ::c_int; in sched_getcpu() function
/external/angle/third_party/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc713 cpu = sched_getcpu(); in PinThreadToCPU()
/external/libtextclassifier/abseil-cpp/absl/random/internal/
Dnanobenchmark.cc713 cpu = sched_getcpu(); in PinThreadToCPU()

12