Searched refs:set_size (Results 1 – 2 of 2) sorted by relevance
/sysdeps/unix/sysv/linux/ |
A D | tst-skeleton-thread-affinity.c | 99 CPU_SET_S (cpu, CPU_ALLOC_SIZE (param->conf->set_size), in thread_burn_any_cpu() 157 cpu_set_t *initial_set = CPU_ALLOC (conf->set_size); in early_test() 158 cpu_set_t *scratch_set = CPU_ALLOC (conf->set_size); in early_test() 178 other_threads[cpu].seen_set = CPU_ALLOC (conf->set_size); in early_test() 184 CPU_ZERO_S (CPU_ALLOC_SIZE (conf->set_size), in early_test() 202 CPU_ZERO_S (CPU_ALLOC_SIZE (conf->set_size), scratch_set); in early_test() 205 (&attr, CPU_ALLOC_SIZE (conf->set_size), scratch_set); in early_test() 262 CPU_COUNT_S (CPU_ALLOC_SIZE (conf->set_size), scratch_set), in early_test() 263 CPU_COUNT_S (CPU_ALLOC_SIZE (conf->set_size), initial_set)); in early_test() 264 CPU_ZERO_S (CPU_ALLOC_SIZE (conf->set_size), scratch_set); in early_test() [all …]
|
A D | tst-skeleton-affinity.c | 45 int set_size; /* in bits */ member 108 conf->set_size = find_set_size (); in setup_conf() 109 if (conf->set_size > 0) in setup_conf() 111 cpu_set_t *set = CPU_ALLOC (conf->set_size); in setup_conf() 115 printf ("error: CPU_ALLOC (%d) failed\n", conf->set_size); in setup_conf() 119 if (getaffinity (CPU_ALLOC_SIZE (conf->set_size), set) < 0) in setup_conf() 125 conf->last_cpu = find_last_cpu (set, CPU_ALLOC_SIZE (conf->set_size)); in setup_conf() 135 if (size < conf->set_size) in test_size() 272 printf ("info: Detected CPU set size (in bits): %d\n", conf.set_size); in do_test() 274 if (conf.set_size < 0 || conf.last_cpu < 0) in do_test() [all …]
|
Completed in 5 milliseconds