ncw / stressdisk

Stress test your disks / memory cards / USB sticks before trusting your valuable data to them
MIT License
361 stars 27 forks source link

Fix statistics #5

Closed dmeador closed 8 years ago

dmeador commented 8 years ago

Hi Nick, Here is a pull request for code changes which fixes statistics output. It simply tracks which mode you are in and accumulates the time spent for each operation, then the read/write stats are accurate.

ncw commented 8 years ago

Thanks for that! I'll review both your pull requests over the next couple of days.

-- Nick

ncw commented 8 years ago

I've done a code review on this one - I haven't actually tested the code yet!

Can you fix up, squash all the commits into one then force push back to this branch please?

Thanks

Nick

ncw commented 8 years ago

I've merged that - thank you very much!