gfio: make latency buckets expand to window width
[fio.git] / gfio.h
diff --git a/gfio.h b/gfio.h
index dd4ee3d8833f2c4745b31f15104941ef4893dfec..b8de680a06184e98e0facf127d72234fbffdcdf3 100644 (file)
--- a/gfio.h
+++ b/gfio.h
@@ -6,6 +6,7 @@
 #include "stat.h"
 #include "thread_options.h"
 #include "ghelpers.h"
+#include "graph.h"
 
 struct probe_widget {
        GtkWidget *hostname;
@@ -37,7 +38,11 @@ struct gfio_graphs {
 #define DRAWING_AREA_YDIM 400
        GtkWidget *drawing_area;
        struct graph *iops_graph;
+       graph_label_t read_iops;
+       graph_label_t write_iops;
        struct graph *bandwidth_graph;
+       graph_label_t read_bw;
+       graph_label_t write_bw;
 };
 
 /*
@@ -144,8 +149,6 @@ struct gfio_client {
        unsigned int nr_du;
 };
 
-#define ARRAYSIZE(x) (sizeof((x)) / (sizeof((x)[0])))
-
 #define GFIO_MIME      "text/fio"
 
 extern void gfio_view_log(struct gui *ui);