Patch to make per-thread IOPS more accurate