X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=iolog.h;h=0d6b5062999c40480cc1b50de805930b8a14461e;hb=b7a69ad89e65cb4f38ccf164ae7c00bb4efe0ef5;hp=d00d00c4263d2622c0801ed1d6d01e789ab54816;hpb=ea51b956a15dd4aee047233be892bb3607f3adbd;p=fio.git diff --git a/iolog.h b/iolog.h index d00d00c4..0d6b5062 100644 --- a/iolog.h +++ b/iolog.h @@ -1,7 +1,7 @@ #ifndef FIO_IOLOG_H #define FIO_IOLOG_H -#include "rbtree.h" +#include "lib/rbtree.h" #include "lib/ieee754.h" #include "ioengine.h" @@ -21,10 +21,10 @@ struct io_stat { * A single data sample */ struct io_sample { - unsigned long time; - unsigned long val; - enum fio_ddir ddir; - unsigned int bs; + uint64_t time; + uint64_t val; + uint32_t ddir; + uint32_t bs; }; enum { @@ -46,7 +46,7 @@ struct io_log { unsigned long max_samples; struct io_sample *log; - int log_type; + unsigned int log_type; /* * Windowed average, for logging single entries average over some