[PATCH] Implement a better mean and standard deviation calculation
[fio.git] / fio.h
diff --git a/fio.h b/fio.h
index 2f41eda23742b0499c10441ac93c2082b8a5bb3c..e85d6cc1f0ac2011fb79780adb838039cd8b56a0 100644 (file)
--- a/fio.h
+++ b/fio.h
@@ -25,11 +25,12 @@ enum fio_ddir {
 };
 
 struct io_stat {
-       unsigned long long val;
-       unsigned long long val_sq;
        unsigned long max_val;
        unsigned long min_val;
        unsigned long samples;
+
+       double mean;
+       double S;
 };
 
 struct io_sample {