X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=diskutil.h;h=7d7ef802bfa1424530c333672a5b96223c12a48b;hp=83bcbf895e799f989645d86cbc23f0dbdf698f39;hb=HEAD;hpb=2a2fdab1ed93744f991c894e61ba52427a7a1fec;ds=sidebyside diff --git a/diskutil.h b/diskutil.h index 83bcbf89..9b283799 100644 --- a/diskutil.h +++ b/diskutil.h @@ -2,9 +2,24 @@ #define FIO_DISKUTIL_H #define FIO_DU_NAME_SZ 64 +#include +#include + #include "helper_thread.h" #include "fio_sem.h" - +#include "flist.h" +#include "lib/ieee754.h" + +/** + * @ios: Number of I/O operations that have been completed successfully. + * @merges: Number of I/O operations that have been merged. + * @sectors: I/O size in 512-byte units. + * @ticks: Time spent on I/O in milliseconds. + * @io_ticks: CPU time spent on I/O in milliseconds. + * @time_in_queue: Weighted time spent doing I/O in milliseconds. + * + * For the array members, index 0 refers to reads and index 1 refers to writes. + */ struct disk_util_stats { uint64_t ios[2]; uint64_t merges[2]; @@ -16,7 +31,7 @@ struct disk_util_stats { }; /* - * Disk utils as read in /sys/block//stat + * Disk utilization as read from /sys/block//stat */ struct disk_util_stat { uint8_t name[FIO_DU_NAME_SZ];