X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=eta.c;h=db13cb18103226028ca324cf5acdfb2d03fe4507;hb=2459bd33b3dbb7a34f28c612d595311a6bc7593d;hp=978430120b850f8b6712a98aeae90e0101040238;hpb=76204de3ecabab5e2f6e006fe33070e4c7505aea;p=fio.git diff --git a/eta.c b/eta.c index 97843012..db13cb18 100644 --- a/eta.c +++ b/eta.c @@ -331,7 +331,7 @@ static void calc_rate(int unified_rw_rep, unsigned long mtime, else this_rate = 0; - if (unified_rw_rep) { + if (unified_rw_rep == UNIFIED_MIXED) { rate[i] = 0; rate[0] += this_rate; } else @@ -356,7 +356,7 @@ static void calc_iops(int unified_rw_rep, unsigned long mtime, else this_iops = 0; - if (unified_rw_rep) { + if (unified_rw_rep == UNIFIED_MIXED) { iops[i] = 0; iops[0] += this_iops; } else