Searched refs:allowed_cpus (Results 1 – 4 of 4) sorted by relevance
| /linux/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 | 748 cpu_set_t allowed_cpus; in test_percpu_list() local 753 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_list() 755 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list() 792 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_list() 935 cpu_set_t allowed_cpus; in test_percpu_buffer() local 940 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_buffer() 942 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer() 992 if (rseq_use_cpu_index() && !CPU_ISSET(i, &allowed_cpus)) in test_percpu_buffer() 1146 cpu_set_t allowed_cpus; in test_percpu_memcpy_buffer() local 1151 sched_getaffinity(0, sizeof(allowed_cpus), &allowed_cpus); in test_percpu_memcpy_buffer() [all …]
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | Makefile | 180 allowed_cpus \
|
| /linux/tools/power/x86/turbostat/ |
| H A D | turbostat.c | 2407 int allowed_cpus; member 4381 average.threads->tsc /= topo.allowed_cpus; in compute_average() 4382 average.threads->aperf /= topo.allowed_cpus; in compute_average() 4383 average.threads->mperf /= topo.allowed_cpus; in compute_average() 4384 average.threads->instr_count /= topo.allowed_cpus; in compute_average() 4385 average.threads->c1 /= topo.allowed_cpus; in compute_average() 4427 average.threads->counter[i] /= topo.allowed_cpus; in compute_average() 4456 average.threads->perf_counter[i] /= topo.allowed_cpus; in compute_average() 4478 average.threads->pmt_counter[i] /= topo.allowed_cpus; in compute_average() 6373 …"turbostat: re-initialized with num_cpus %d, allowed_cpus %d\n", topo.num_cpus, topo.allowed_cpus); in re_initialize() [all …]
|