Home
last modified time | relevance | path

Searched refs:nprocs (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/powerpc/ptrace/
H A Dperf-hwbreak.c50 int nprocs; variable
178 for (i = 0, cpu = 0; i < nprocs && cpu < ncpus; cpu++) { in perf_systemwide_event_open()
191 if (i < nprocs) { in perf_systemwide_event_open()
192 printf("Error: Number of online cpus reduced since start of test: %d < %d\n", i, nprocs); in perf_systemwide_event_open()
586 int *fd1 = malloc(nprocs * sizeof(int)); in test_syswide_multi_diff_addr()
587 int *fd2 = malloc(nprocs * sizeof(int)); in test_syswide_multi_diff_addr()
597 close_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
601 reset_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
602 reset_fds(fd2, nprocs); in test_syswide_multi_diff_addr()
603 enable_fds(fd1, nprocs); in test_syswide_multi_diff_addr()
[all...]
/linux/tools/testing/selftests/cgroup/
H A Dtest_cpu.c31 int nprocs; member
146 for (i = 0; i < param->nprocs; i++) { in hog_cpus_timed()
207 .nprocs = 1, in test_cpucg_stats()
271 .nprocs = 1, in test_cpucg_nice()
380 .nprocs = ncpus, in weight_hog_ncpus()
488 int nprocs = get_nprocs(); in run_cpucg_nested_weight_test() local
491 if (nprocs < 4) in run_cpucg_nested_weight_test()
497 nprocs /= 4; in run_cpucg_nested_weight_test()
542 .nprocs = nprocs, in run_cpucg_nested_weight_test()
[all...]