README: add hint on missing libaio-devel package
[fio.git] / fio.c
diff --git a/fio.c b/fio.c
index 231a581f5478df56054531137d2f1b17ebc3ba57..b79aa93e644296be9bdf0439863760d8dd4a6cfd 100644 (file)
--- a/fio.c
+++ b/fio.c
@@ -49,6 +49,7 @@ int nr_process = 0;
 int nr_thread = 0;
 int shm_id = 0;
 int temp_stall_ts;
+unsigned long done_secs = 0;
 
 static struct fio_mutex *startup_mutex;
 static volatile int fio_abort;
@@ -1118,6 +1119,8 @@ reaped:
 
                if (td->error)
                        exit_value++;
+
+               done_secs += mtime_since_now(&td->epoch) / 1000;
        }
 
        if (*nr_running == cputhreads && !pending && realthreads)