Fix ramp time breakage
[fio.git] / stat.c
diff --git a/stat.c b/stat.c
index 53848843860011441ed60c199e17437199545a6c..2e0b1da00d11242ad459b130b5c3681ccbd53140 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -2393,7 +2393,7 @@ int calc_log_samples(void)
        fio_gettime(&now, NULL);
 
        for_each_td(td, i) {
-               if (!ramp_time_over(td) ||
+               if (!in_ramp_time(td) ||
                    !(td->runstate == TD_RUNNING || td->runstate == TD_VERIFYING)) {
                        next = min(td->o.iops_avg_time, td->o.bw_avg_time);
                        continue;