dmaengine: dmatest: Use fixed point div to calculate iops

Use fixed point division to calculate iops to prevent reporting 0 iops
when operations last for longer than a second.

Signed-off-by: Seraj Alijan <seraj.alijan@sondrel.com>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
Seraj Alijan 2018-12-10 08:52:34 +00:00 • committed by Vinod Koul
commit 6138f967bc