Commit 024d6375 authored by Konstantin Khlebnikov's avatar Konstantin Khlebnikov

ioping: less weird period-deadline

Signed-off-by: default avatarKonstantin Khlebnikov <koct9i@gmail.com>
parent 5c2b32cf
......@@ -959,8 +959,7 @@ int main (int argc, char **argv)
part_sum = part_sum2 = 0;
part_request = 0;
while (period_time && time_next >= period_deadline)
period_deadline += period_time;
period_deadline = time_now + period_time;
}
if (!randomize) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment