8 #include "thread_options.h"
21 struct multitext_widget iotype;
22 struct multitext_widget bs;
23 struct multitext_widget ioengine;
24 struct multitext_widget iodepth;
32 GtkWidget *write_iops;
38 #define DRAWING_AREA_XDIM 1000
39 #define DRAWING_AREA_YDIM 400
40 GtkWidget *drawing_area;
41 struct graph *iops_graph;
42 graph_label_t read_iops;
43 graph_label_t write_iops;
44 struct graph *bandwidth_graph;
45 graph_label_t read_bw;
46 graph_label_t write_bw;
50 * Main window widgets and data
53 GtkUIManager *uimanager;
54 GtkRecentManager *recentmanager;
55 GtkActionGroup *actiongroup;
60 GtkWidget *thread_status_pb;
63 GtkWidget *error_info_bar;
64 GtkWidget *error_label;
65 GtkListStore *log_model;
68 struct gfio_graphs graphs;
69 struct probe_widget probe;
70 struct eta_widget eta;
89 GFIO_BUTTON_CONNECT = 0,
102 GtkWidget *job_notebook;
103 GtkWidget *thread_status_pb;
104 GtkWidget *buttonbox;
105 GtkWidget *button[GFIO_BUTTON_NR];
107 GtkWidget *error_info_bar;
108 GtkWidget *error_label;
109 GtkWidget *results_window;
110 GtkWidget *results_notebook;
111 GtkUIManager *results_uimanager;
112 GtkWidget *results_menu;
113 GtkWidget *disk_util_vbox;
114 GtkListStore *log_model;
117 struct gfio_graphs graphs;
118 struct probe_widget probe;
119 struct eta_widget eta;
120 GtkWidget *page_label;
124 struct graph *clat_graph;
125 struct graph *lat_bucket_graph;
127 struct gfio_client *client;
136 struct group_run_stats gs;
137 struct thread_stat ts;
140 struct gfio_client_options {
141 struct flist_head list;
142 struct thread_options o;
146 struct gui_entry *ge;
147 struct fio_client *client;
148 GtkWidget *err_entry;
150 struct flist_head o_list;
151 unsigned int o_list_nr;
153 struct end_results *results;
154 unsigned int nr_results;
156 struct cmd_du_pdu *du;
160 #define GFIO_MIME "text/fio"
162 extern void gfio_view_log(struct gui *ui);
163 extern void gfio_set_state(struct gui_entry *ge, unsigned int state);
164 extern void clear_ge_ui_info(struct gui_entry *ge);
166 extern const char *gfio_graph_font;
167 extern GdkColor gfio_color_white;