The this_done, this_call and this_reap parameter should be a summation of
the corresponding field from all the submitters.
Currently, we are adding the done, calls and reaps param of the last used
submitter nthread times.
Signed-off-by: Pankaj Raghav <p.raghav@samsung.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
stats_running = 1;
for (j = 0; j < nthreads; j++) {
stats_running = 1;
for (j = 0; j < nthreads; j++) {
this_done += s->done;
this_call += s->calls;
this_reap += s->reaps;
this_done += s->done;
this_call += s->calls;
this_reap += s->reaps;