Searched refs:nr_cpus (Results 1 – 9 of 9) sorted by relevance
168 for (i = 0; i < ipc.nr_cpus; i++) { in calibration_stats()173 ipc.cali_mean = sum/ipc.nr_cpus; in calibration_stats()175 for (i = 0; i < ipc.nr_cpus; i++) { in calibration_stats()180 ipc.cali_stddev = sqrt(var/(ipc.nr_cpus-1)); in calibration_stats()191 ipc.nr_cpus = cpus_online(); in fio_idle_prof_init()206 ipc.ipts = malloc(ipc.nr_cpus * sizeof(struct idle_prof_thread)); in fio_idle_prof_init()212 ipc.buf = malloc(ipc.nr_cpus * page_size); in fio_idle_prof_init()223 for (i = 0; i < ipc.nr_cpus; i++) { in fio_idle_prof_init()271 for (i = 0; i < ipc.nr_cpus; i++) { in fio_idle_prof_init()280 for (i = 0; i < ipc.nr_cpus; i++) { in fio_idle_prof_init()[all …]
559 unsigned int nr_cpus = cpus_online(); in fio_monotonic_clocktest() local584 cthreads = malloc(nr_cpus * sizeof(struct clock_thread)); in fio_monotonic_clocktest()585 tentries = nr_entries * nr_cpus; in fio_monotonic_clocktest()589 log_info("cs: Testing %u CPUs\n", nr_cpus); in fio_monotonic_clocktest()591 for (i = 0; i < nr_cpus; i++) { in fio_monotonic_clocktest()604 nr_cpus = i; in fio_monotonic_clocktest()609 for (i = 0; i < nr_cpus; i++) { in fio_monotonic_clocktest()615 for (i = 0; i < nr_cpus; i++) { in fio_monotonic_clocktest()621 for (i = 0; i < nr_cpus; i++) { in fio_monotonic_clocktest()
43 int nr_cpus; member
231 util_cpu_caps.nr_cpus = system_info.dwNumberOfProcessors; in util_cpu_detect()234 util_cpu_caps.nr_cpus = sysconf(_SC_NPROCESSORS_ONLN); in util_cpu_detect()235 if (util_cpu_caps.nr_cpus == -1) in util_cpu_detect()236 util_cpu_caps.nr_cpus = 1; in util_cpu_detect()247 util_cpu_caps.nr_cpus = ncpu; in util_cpu_detect()250 util_cpu_caps.nr_cpus = 1; in util_cpu_detect()321 debug_printf("util_cpu_caps.nr_cpus = %u\n", util_cpu_caps.nr_cpus); in util_cpu_detect()
49 unsigned nr_cpus; member
341 int nr_cpus, i; in CPU_COUNT() local343 for (i = 0, nr_cpus = 0; i < max_cpus; i++) in CPU_COUNT()345 nr_cpus++; in CPU_COUNT()347 return nr_cpus; in CPU_COUNT()
132 vki_uint32_t nr_cpus; /* # CPUs currently online */ member148 vki_uint32_t nr_cpus; /* # CPUs currently online */ member
487 screen->num_threads = util_cpu_caps.nr_cpus > 1 ? util_cpu_caps.nr_cpus : 0; in llvmpipe_create_screen()
1603 POST_XEN_SYSCTL_WRITE(physinfo_00000008, nr_cpus); in POST()1618 POST_XEN_SYSCTL_WRITE(physinfo_0000000a, nr_cpus); in POST()