Home
last modified time | relevance | path

Searched refs:cpu (Results 1 – 15 of 15) sorted by relevance

/bionic/libc/include/
Dsched.h252 #define CPU_SET(cpu, set) CPU_SET_S(cpu, sizeof(cpu_set_t), set) argument
257 #define CPU_SET_S(cpu, setsize, set) \ argument
259 size_t __cpu = (cpu); \
268 #define CPU_CLR(cpu, set) CPU_CLR_S(cpu, sizeof(cpu_set_t), set) argument
273 #define CPU_CLR_S(cpu, setsize, set) \ argument
275 size_t __cpu = (cpu); \
284 #define CPU_ISSET(cpu, set) CPU_ISSET_S(cpu, sizeof(cpu_set_t), set) argument
289 #define CPU_ISSET_S(cpu, setsize, set) \ argument
291 size_t __cpu = (cpu); \
/bionic/libc/bionic/
Dsched_getcpu.cpp35 unsigned cpu; in sched_getcpu() local
36 int rc = __getcpu(&cpu, nullptr, nullptr); in sched_getcpu()
40 return cpu; in sched_getcpu()
/bionic/libc/private/
Dget_cpu_count_from_string.h38 int cpu = static_cast<int>(strtol(s, const_cast<char**>(&s), 10)); in GetCpuCountFromString() local
40 cpu_count += cpu - last_cpu; in GetCpuCountFromString()
44 last_cpu = cpu; in GetCpuCountFromString()
/bionic/tests/
Dsys_ptrace_test.cpp208 static void watchpoint_stress_child(unsigned cpu, T& data) { in watchpoint_stress_child() argument
211 CPU_SET(cpu, &cpus); in watchpoint_stress_child()
222 static void run_watchpoint_stress(size_t cpu) { in run_watchpoint_stress() argument
223 run_watchpoint_test<T>(std::bind(watchpoint_stress_child<T>, cpu, std::placeholders::_1), 0, in run_watchpoint_stress()
234 for (size_t cpu = 0; cpu < CPU_SETSIZE; ++cpu) { in TEST() local
235 if (!CPU_ISSET(cpu, &available_cpus)) continue; in TEST()
237 run_watchpoint_stress<uint8_t>(cpu); in TEST()
242 run_watchpoint_stress<uint16_t>(cpu); in TEST()
243 run_watchpoint_stress<uint32_t>(cpu); in TEST()
245 run_watchpoint_stress<uint64_t>(cpu); in TEST()
/bionic/libc/arch-arm64/
Ddynamic_function_dispatch.cpp40 uint16_t cpu = (midr >> 20) & 0xfff; in __bionic_is_oryon() local
47 return cpu >= make_cpu('Q', 0x1) && cpu <= make_cpu('Q', 0x5); in __bionic_is_oryon()
/bionic/libc/kernel/uapi/linux/netfilter/
Dxt_cpu.h11 __u32 cpu; member
/bionic/libc/kernel/uapi/asm-x86/asm/
Dmce.h26 __u8 cpu; member
/bionic/benchmarks/
DREADME.md48 <cpu><optional_cpu_to_lock></cpu>
54 XML-specified values for iterations and cpu take precedence over those specified via command line
178 To lock the CPU frequency, use the sysfs interface at `/sys/devices/system/cpu/cpu*/cpufreq/`.
/bionic/libc/kernel/uapi/linux/
Dcn_proc.h34 __u32 cpu; member
Dblktrace_api.h89 __u32 cpu; member
Dkvm.h172 __u32 cpu; member
Dbpf.h491 __u32 cpu; member
/bionic/docs/
Dlibc_assembler.md28 Locking to a specific cpu:
94 that if the device does not get up to the maximum cpu frequency, the results
95 can vary wildly. It's possible to lock the cpu to the maximum frequency, but
97 out the cpu very quickly on Pixel devices, and don't affect the results.
Dnative_allocator.md161 with different characteristics. For example, on a big-little cpu, if the
169 On most phones with a big-little cpu, the third core is the little core.
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh39 --cpu-mask MASK MASK is a hex mask of CPU affinity passed to taskset