Note process vs thread in output
[fio.git] / init.c
diff --git a/init.c b/init.c
index bca8424a9e49348c05b99a272c9d96789b469559..2129882f5309ccdaea91fe737e8f01132ed2b3e1 100644 (file)
--- a/init.c
+++ b/init.c
@@ -816,6 +816,11 @@ static int add_job(struct thread_data *td, const char *jobname, int job_add_num)
                return 1;
        }
 
+       if (td->use_thread)
+               nr_thread++;
+       else
+               nr_process++;
+
        if (td->odirect)
                td->io_ops->flags |= FIO_RAWIO;