gfio: graphing updates
authorJens Axboe <axboe@kernel.dk>
Wed, 14 Mar 2012 09:25:44 +0000 (10:25 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 14 Mar 2012 09:25:44 +0000 (10:25 +0100)
commitd8fbeefb67641e9f63088b329de78a26a69fdbae
tree0d58d757f42f40165b596bbc5cd5e0ad37cacfd1
parenta217ba7de6e2ea26fbd12db663aaf8a5a9f350a7
gfio: graphing updates

- Don't draw tickmark labels for an empty graph
- Remove Y-axis label. It was a bit awkward and hard to read.
- Ensure that we always put proper units on the Y-axis graph.
- Ensure that we always include the top most Y-axis tickmark
  and make that the ceiling, not the highest Y value. It's hard
  to visually understand a graph that is drawing somewhere above
  the last labeled tickmark.
- Fix rounding errors in graph.c

Signed-off-by: Jens Axboe <axboe@kernel.dk>
gfio.c
graph.c
graph.h
tickmarks.c
tickmarks.h