cpus_allowed: use __NRPROCESSORS_CONF instead of __SC_NPROCESSORS_ONLN for non-sequen...
[fio.git] / idletime.c
index fc1df8e9d009a49059558c6ca576a6e553f304c7..90ed77ea6e7d671e7bc251f5ddca69f4fb074e78 100644 (file)
@@ -189,7 +189,7 @@ void fio_idle_prof_init(void)
        pthread_condattr_t cattr;
        struct idle_prof_thread *ipt;
 
-       ipc.nr_cpus = cpus_online();
+       ipc.nr_cpus = cpus_configured();
        ipc.status = IDLE_PROF_STATUS_OK;
 
        if (ipc.opt == IDLE_PROF_OPT_NONE)