Merge branch 'sphinx-doc' of https://github.com/termim/fio
[fio.git] / engines / cpu.c
index 85598ef77fb9acd8d4868d6e15de1d9f64bee83f..3d855e363c3212ba3d0c656ac5e2e92de1da1c05 100644 (file)
@@ -6,9 +6,10 @@
  *
  */
 #include "../fio.h"
+#include "../optgroup.h"
 
 struct cpu_options {
-       struct thread_data *td;
+       void *pad;
        unsigned int cpuload;
        unsigned int cpucycle;
        unsigned int exit_io_done;
@@ -87,8 +88,8 @@ static int fio_cpuio_init(struct thread_data *td)
 
        o->nr_files = o->open_files = 1;
 
-       log_info("%s: ioengine=cpu, cpuload=%u, cpucycle=%u\n", td->o.name,
-                                               co->cpuload, co->cpucycle);
+       log_info("%s: ioengine=%s, cpuload=%u, cpucycle=%u\n",
+               td->o.name, td->io_ops->name, co->cpuload, co->cpucycle);
 
        return 0;
 }