Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix throughput calculation when read/write is quick (#5)
dperf can panic with the 'integer divide by zero' error. This happens in some case with reading or writing happens in less than one second. Calculate read/write throughput differently to avoid zero division.
- Loading branch information