Better max estimate for line graphs
authorJan Kara <jack@suse.com>
Thu, 5 May 2016 15:17:04 +0000 (17:17 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 5 May 2016 15:20:18 +0000 (09:20 -0600)
commitb18f4c129dde9783be64d699e2f261bb6729f732
treea7e2d779b76eeface3ffb10efbeb4c29860ecbaa
parentd1422556dbff03e982aeb2faf5893b4363621bee
Better max estimate for line graphs

Use maximum of rolling average as the upper range end for the line graph
to use better the available space in the plot.

Signed-off-by: Jan Kara <jack@suse.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
iowatcher/main.c
iowatcher/plot.c
iowatcher/plot.h