Use double-precision floating point in the performance_dump() function, since we can be dealing with large numbers (especially now that io_completed is now uint64_t). This isn't part of the I/O path, just used to print statistics, so there should be no performance impact. Also, the arguments passed to printf() were already implicitly being promoted to double, so this actually removes an extra conversion step. Change-Id: I12aae36bc42e83777eaa050561eb5e55060ae81c Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/392414 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
bdevperf.c | ||
Makefile |