X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=gfio.h;h=2bf0ea2424373ae6f3a589e36e08c983c3d75950;hb=615c794cbf851c994e94fffe8b8f565e64f137a5;hp=4d6d5d992ea78d451a3306287f2343e0f0283c23;hpb=f762cef937f69d6a23127baf47f22e8ffaea4c11;p=fio.git diff --git a/gfio.h b/gfio.h index 4d6d5d99..2bf0ea24 100644 --- a/gfio.h +++ b/gfio.h @@ -32,6 +32,8 @@ struct eta_widget { GtkWidget *write_iops; GtkWidget *cw_bw; GtkWidget *cw_iops; + GtkWidget *trim_bw; + GtkWidget *trim_iops; }; struct gfio_graphs { @@ -41,9 +43,11 @@ struct gfio_graphs { struct graph *iops_graph; graph_label_t read_iops; graph_label_t write_iops; + graph_label_t trim_iops; struct graph *bandwidth_graph; graph_label_t read_bw; graph_label_t write_bw; + graph_label_t trim_bw; }; /* @@ -74,7 +78,9 @@ struct gui { int handler_running; GHashTable *ge_hash; -} main_ui; +}; + +extern struct gui main_ui; enum { GE_STATE_NEW = 1, @@ -146,6 +152,8 @@ struct gfio_client { struct gui_entry *ge; struct fio_client *client; GtkWidget *err_entry; + uint32_t client_cpus; + uint64_t client_flags; struct flist_head o_list; unsigned int o_list_nr; @@ -153,6 +161,9 @@ struct gfio_client { struct end_results *results; unsigned int nr_results; + uint32_t update_job_status; + volatile uint32_t update_job_done; + struct cmd_du_pdu *du; unsigned int nr_du; }; @@ -165,5 +176,6 @@ extern void clear_ge_ui_info(struct gui_entry *ge); extern const char *gfio_graph_font; extern GdkColor gfio_color_white; +extern GdkColor gfio_color_lightyellow; #endif