summaryrefslogtreecommitdiff
path: root/tickmarks.h
diff options
context:
space:
mode:
authorStephen M. Cameron <stephenmcameron@gmail.com>2012-03-07 07:56:16 +0100
committerJens Axboe <axboe@kernel.dk>2012-03-07 07:56:16 +0100
commitaf58ef32b7398d791168af54aa4aab0b23192f90 (patch)
treec99836e8547ca396bd9cd7c91b07dd14d2fad801 /tickmarks.h
parente34f6ad7123c686bb5c3cafe3377ca7a7ed0e899 (diff)
downloadfio-af58ef32b7398d791168af54aa4aab0b23192f90.tar.gz
fio-af58ef32b7398d791168af54aa4aab0b23192f90.tar.bz2
gfio: Add mini library to draw bar graphs and line graphs
Signed-off-by: Stephen M. Cameron <stephenmcameron@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tickmarks.h')
-rw-r--r--tickmarks.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tickmarks.h b/tickmarks.h
new file mode 100644
index 00000000..ab817a76
--- /dev/null
+++ b/tickmarks.h
@@ -0,0 +1,11 @@
+#ifndef TICKMARKS_H
+#define TICKMARKS_H
+
+struct tickmark {
+ double value;
+ char string[20];
+};
+
+int calc_tickmarks(double min, double max, int nticks, struct tickmark **tm);
+
+#endif