diff options
author | Tuan Hoang <tuan.hoang1@ibm.com> | 2022-07-07 00:35:09 +0200 |
---|---|---|
committer | Tuan Hoang <tuan.hoang1@ibm.com> | 2022-07-07 00:35:09 +0200 |
commit | 64f11975d06a91059aee9bfface33591b3627feb (patch) | |
tree | 5ceb27fb4614fa7bc85468082029e5c873776f81 /os/windows | |
parent | 1eb5ca76ee17ff80dd06a0c2d22498ab720ec76f (diff) | |
download | fio-64f11975d06a91059aee9bfface33591b3627feb.tar.gz fio-64f11975d06a91059aee9bfface33591b3627feb.tar.bz2 |
server: only do cpu_to_le64() on io_sample_data member if iolog is histogram
In the case of histogram iolog, the union io_sample_data member is a
pointer of struct io_u_plat_entry, while in the case of normal iolog, it
is an uint64_t. Thus only need to do the byteswap in case it is an
uint64_t.
Signed-off-by: Ulrich Weigand <ulrich.weigand@de.ibm.com>
Signed-off-by: Tuan Hoang <tuan.hoang1@ibm.com>
Diffstat (limited to 'os/windows')
0 files changed, 0 insertions, 0 deletions