Spdk/test/lib
Daniel Verkamp 1fe9ba9dba bdevperf: replace floats with doubles
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>
2017-12-20 13:53:08 -05:00
..
bdev bdevperf: replace floats with doubles 2017-12-20 13:53:08 -05:00
blobfs event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
env astyle: enforce braces around single-line statements 2017-12-11 11:19:32 -05:00
event event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00
ioat test: move IOAT library unit test to test/unit 2017-06-21 18:57:35 -04:00
json test: move JSON library unit tests to test/unit 2017-06-20 13:46:07 -04:00
nvme test/nvme.sh: add support for older kernel versions 2017-12-18 14:53:07 -05:00
Makefile test: move iSCSI unit tests to test/unit 2017-06-28 13:10:27 -04:00
test_env.c nvme: normalize PCI addresses before comparing 2017-11-16 18:17:09 -05:00
ut_multithread.c event: Move spdk_poller_register to io_channel 2017-11-28 12:30:37 -05:00