summaryrefslogtreecommitdiff
path: root/tickmarks.h
diff options
context:
space:
mode:
authorStephen M. Cameron <stephenmcameron@gmail.com>2012-03-11 11:35:10 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-11 11:35:10 +0100
commit7175d91deff20b1408450c231b2b445ea28f7f29 (patch)
treee2da0f42ffc70504b4919301cb5339544b2ac846 /tickmarks.h
parent09ad20ff60eb8c11edf407c4060062dae187f5e7 (diff)
downloadfio-7175d91deff20b1408450c231b2b445ea28f7f29.tar.gz
fio-7175d91deff20b1408450c231b2b445ea28f7f29.tar.bz2
gfio: add graph axis unit change notification callbacks
This enables code that uses the graph functions to change the axis titles on the fly to display unit information which matches how the tick labels are shortened. Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tickmarks.h')
-rw-r--r--tickmarks.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/tickmarks.h b/tickmarks.h
index ab817a76..a8c1bf9f 100644
--- a/tickmarks.h
+++ b/tickmarks.h
@@ -6,6 +6,7 @@ struct tickmark {
char string[20];
};
-int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm);
+int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm,
+ int *power_of_ten, int use_KMG_symbols);
#endif