From: Jens Axboe Date: Thu, 11 Apr 2013 10:24:36 +0000 (+0200) Subject: Make io_sample word size agnostic X-Git-Tag: fio-2.1~60 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=ab8286610c47a683e45a916cc3e1470b5fd4c530 Make io_sample word size agnostic Signed-off-by: Jens Axboe --- diff --git a/iolog.h b/iolog.h index 60683843..82edbfc9 100644 --- a/iolog.h +++ b/iolog.h @@ -20,10 +20,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 { @@ -45,7 +45,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