Home
last modified time | relevance | path

Searched refs:allowed_cpus (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/rseq/
Dbasic_percpu_ops_test.c280 cpu_set_t allowed_cpus; in test_percpu_list() local
285 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
287 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
312 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
Dparam_test.c721 cpu_set_t allowed_cpus; in test_percpu_list() local
726 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list()
728 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
765 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list()
908 cpu_set_t allowed_cpus; in test_percpu_buffer() local
913 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer()
915 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer()
965 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer()
1119 cpu_set_t allowed_cpus; in test_percpu_memcpy_buffer() local
1124 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer()
[all …]
/linux-6.12.1/tools/power/x86/turbostat/
Dturbostat.c1860 int allowed_cpus; member
3661 average.threads.tsc /= topo.allowed_cpus; in compute_average()
3662 average.threads.aperf /= topo.allowed_cpus; in compute_average()
3663 average.threads.mperf /= topo.allowed_cpus; in compute_average()
3664 average.threads.instr_count /= topo.allowed_cpus; in compute_average()
3665 average.threads.c1 /= topo.allowed_cpus; in compute_average()
3705 average.threads.counter[i] /= topo.allowed_cpus; in compute_average()
3734 average.threads.perf_counter[i] /= topo.allowed_cpus; in compute_average()
3756 average.threads.pmt_counter[i] /= topo.allowed_cpus; in compute_average()
5612 topo.allowed_cpus); in re_initialize()
[all …]