Implement new Rate Control
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 81d58e8b3509b5f3610f2cbc62ef8bc8085e051a..17bc02bc59f0eba2a39aa40b5b5142407b1bc02b 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -238,9 +238,10 @@ struct thread_data {
         * Rate state
         */
        uint64_t rate_bps[DDIR_RWDIR_CNT];
-       long rate_pending_usleep[DDIR_RWDIR_CNT];
+       unsigned long rate_next_io_time[DDIR_RWDIR_CNT];
        unsigned long rate_bytes[DDIR_RWDIR_CNT];
        unsigned long rate_blocks[DDIR_RWDIR_CNT];
+       unsigned long rate_io_issue_bytes[DDIR_RWDIR_CNT];
        struct timeval lastrate[DDIR_RWDIR_CNT];
 
        /*