Add ETA output control and interactivity check
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 1b392a0372b0ddbe60984eefc1cc09b60180ffc4..0d57b608c3a29d49f0c8e8008b5c78388a73d110 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -629,6 +629,15 @@ enum {
        FIO_FSERVICE_RR         = 2,
 };
 
        FIO_FSERVICE_RR         = 2,
 };
 
+/*
+ * when should interactive ETA output be generated
+ */
+enum {
+       FIO_ETA_AUTO,
+       FIO_ETA_ALWAYS,
+       FIO_ETA_NEVER,
+};
+
 /*
  * 30 second per-io_u timeout, with 5 second intervals to avoid resetting
  * the timer on each queue operation.
 /*
  * 30 second per-io_u timeout, with 5 second intervals to avoid resetting
  * the timer on each queue operation.
@@ -663,6 +672,7 @@ extern int temp_stall_ts;
 extern unsigned long long mlock_size;
 extern unsigned long page_mask, page_size;
 extern int read_only;
 extern unsigned long long mlock_size;
 extern unsigned long page_mask, page_size;
 extern int read_only;
+extern int eta_print;
 
 extern struct thread_data *threads;
 
 
 extern struct thread_data *threads;