Searched refs:allowed_cpus (Results 1 – 3 of 3) sorted by relevance
| /linux-6.15/tools/testing/selftests/rseq/ |
| H A D | basic_percpu_ops_test.c | 280 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()
|
| H A D | param_test.c | 745 cpu_set_t allowed_cpus; in test_percpu_list() local 750 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list() 752 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list() 789 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list() 932 cpu_set_t allowed_cpus; in test_percpu_buffer() local 937 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer() 939 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer() 989 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer() 1143 cpu_set_t allowed_cpus; in test_percpu_memcpy_buffer() local 1148 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer() [all …]
|
| /linux-6.15/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2036 int allowed_cpus; member 3935 average.threads.tsc /= topo.allowed_cpus; in compute_average() 3936 average.threads.aperf /= topo.allowed_cpus; in compute_average() 3937 average.threads.mperf /= topo.allowed_cpus; in compute_average() 3938 average.threads.instr_count /= topo.allowed_cpus; in compute_average() 3939 average.threads.c1 /= topo.allowed_cpus; in compute_average() 3982 average.threads.counter[i] /= topo.allowed_cpus; in compute_average() 4033 average.threads.pmt_counter[i] /= topo.allowed_cpus; in compute_average() 5902 topo.allowed_cpus); in re_initialize() 8871 topo.allowed_cpus++; in update_topo() [all …]
|