projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a812f9
)
Make io_sample word size agnostic
author
Jens Axboe
<axboe@kernel.dk>
Thu, 11 Apr 2013 10:24:36 +0000
(12:24 +0200)
committer
Jens Axboe
<axboe@kernel.dk>
Thu, 11 Apr 2013 10:24:36 +0000
(12:24 +0200)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
iolog.h
patch
|
blob
|
blame
|
history
diff --git
a/iolog.h
b/iolog.h
index 6068384386af40373c36fc27b7667b6ca2bc8387..82edbfc916ac5a47868bac16469e8d7d605c55e4 100644
(file)
--- a/
iolog.h
+++ b/
iolog.h
@@
-20,10
+20,10
@@
struct io_stat {
* A single data sample
*/
struct io_sample {
- u
nsigned long
time;
- u
nsigned long
val;
-
enum fio_ddir
ddir;
- u
nsigned in
t bs;
+ u
int64_t
time;
+ u
int64_t
val;
+
uint32_t
ddir;
+ u
int32_
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