commit | 2e33101f218a1603eeecca969f5b7a0e98696a01 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Mon Mar 05 22:07:54 2012 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Mon Mar 05 22:07:54 2012 +0100 |
tree | a097404e3f4609da72db34811ea1c9c6c85e0964 | |
parent | e5bd13470beaeed9c4a6835b7b92265fb94173a9 [diff] [blame] |
gfio: add os resource usage and io depth display IO depths is a bit of a hack, needs work. Signed-off-by: Jens Axboe <axboe@kernel.dk>
diff --git a/stat.c b/stat.c index 0fd8b72..8b032b8 100644 --- a/stat.c +++ b/stat.c
@@ -285,11 +285,7 @@ } } -#define ts_total_io_u(ts) \ - ((ts)->total_io_u[0] + (ts)->total_io_u[1]) - -static void stat_calc_dist(unsigned int *map, unsigned long total, - double *io_u_dist) +void stat_calc_dist(unsigned int *map, unsigned long total, double *io_u_dist) { int i;