Home
last modified time | relevance | path

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

/tools/testing/selftests/sched_ext/
A Dallowed_cpus.c14 struct allowed_cpus *skel; in setup()
26 static int test_select_cpu_from_user(const struct allowed_cpus *skel) in test_select_cpu_from_user()
52 struct allowed_cpus *skel = ctx; in run()
72 struct allowed_cpus *skel = ctx; in cleanup()
77 struct scx_test allowed_cpus = { variable
84 REGISTER_SCX_TEST(&allowed_cpus)
A DMakefile176 allowed_cpus \
/tools/testing/selftests/rseq/
A 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()
A Dparam_test.c745 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 …]
/tools/power/x86/turbostat/
A Dturbostat.c2294 int allowed_cpus; member
4232 average.threads.tsc /= topo.allowed_cpus; in compute_average()
4233 average.threads.aperf /= topo.allowed_cpus; in compute_average()
4234 average.threads.mperf /= topo.allowed_cpus; in compute_average()
4235 average.threads.instr_count /= topo.allowed_cpus; in compute_average()
4236 average.threads.c1 /= topo.allowed_cpus; in compute_average()
4278 average.threads.counter[i] /= topo.allowed_cpus; in compute_average()
4329 average.threads.pmt_counter[i] /= topo.allowed_cpus; in compute_average()
6230 topo.allowed_cpus); in re_initialize()
9403 topo.allowed_cpus++; in update_topo()
[all …]

Completed in 26 milliseconds