From ab8286610c47a683e45a916cc3e1470b5fd4c530 Mon Sep 17 00:00:00 2001 From: Jens Axboe Date: Thu, 11 Apr 2013 12:24:36 +0200 Subject: [PATCH] Make io_sample word size agnostic Signed-off-by: Jens Axboe --- iolog.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.25.1