Lines Matching refs:nr_cpus
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()
318 for (i = 0; i < ipc.nr_cpus; i++) { in fio_idle_prof_start()
341 for (i = 0; i < ipc.nr_cpus; i++) { in fio_idle_prof_stop()
377 int i, nr_cpus = ipc.nr_cpus; in fio_idle_prof_cpu_stat() local
384 if ((cpu >= nr_cpus) || (cpu < -1)) { in fio_idle_prof_cpu_stat()
390 for (i = 0; i < nr_cpus; i++) { in fio_idle_prof_cpu_stat()
394 p /= nr_cpus; in fio_idle_prof_cpu_stat()
451 int i, nr_cpus = ipc.nr_cpus; in show_idle_prof_stats() local
466 for (i = 1; i < nr_cpus; i++) in show_idle_prof_stats()
495 for (i = 0; i < nr_cpus; i++) { in show_idle_prof_stats()