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;
40 #define DRAWING_AREA_XDIM 1000
41 #define DRAWING_AREA_YDIM 400
42 GtkWidget *drawing_area;
43 struct graph *iops_graph;
44 graph_label_t read_iops;
45 graph_label_t write_iops;
46 graph_label_t trim_iops;
47 struct graph *bandwidth_graph;
48 graph_label_t read_bw;
49 graph_label_t write_bw;
50 graph_label_t trim_bw;
54 * Main window widgets and data
57 GtkUIManager *uimanager;
58 GtkRecentManager *recentmanager;
59 GtkActionGroup *actiongroup;
64 GtkWidget *thread_status_pb;
67 GtkWidget *error_info_bar;
68 GtkWidget *error_label;
69 GtkListStore *log_model;
72 struct gfio_graphs graphs;
73 struct probe_widget probe;
74 struct eta_widget eta;
83 extern struct gui main_ui;
95 GFIO_BUTTON_CONNECT = 0,
108 GtkWidget *job_notebook;
109 GtkWidget *thread_status_pb;
110 GtkWidget *buttonbox;
111 GtkWidget *button[GFIO_BUTTON_NR];
113 GtkWidget *error_info_bar;
114 GtkWidget *error_label;
115 GtkWidget *results_window;
116 GtkWidget *results_notebook;
117 GtkUIManager *results_uimanager;
118 GtkWidget *results_menu;
119 GtkWidget *disk_util_vbox;
120 GtkListStore *log_model;
123 struct gfio_graphs graphs;
124 struct probe_widget probe;
125 struct eta_widget eta;
126 GtkWidget *page_label;
130 struct graph *clat_graph;
131 struct graph *lat_bucket_graph;
133 struct gfio_client *client;
142 struct group_run_stats gs;
143 struct thread_stat ts;
146 struct gfio_client_options {
147 struct flist_head list;
148 struct thread_options o;
152 struct gui_entry *ge;
153 struct fio_client *client;
154 GtkWidget *err_entry;
155 uint32_t client_cpus;
156 uint64_t client_flags;
158 struct flist_head o_list;
159 unsigned int o_list_nr;
161 struct end_results *results;
162 unsigned int nr_results;
164 uint32_t update_job_status;
165 volatile uint32_t update_job_done;
167 struct cmd_du_pdu *du;
171 #define GFIO_MIME "text/fio"
173 extern void gfio_view_log(struct gui *ui);
174 extern void gfio_set_state(struct gui_entry *ge, unsigned int state);
175 extern void clear_ge_ui_info(struct gui_entry *ge);
177 extern const char *gfio_graph_font;
178 extern GdkColor gfio_color_white;
179 extern GdkColor gfio_color_lightyellow;