X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=gfio.h;h=aa14e3c7d961108c7759bbe9449c2fbea7b65d57;hp=dd69c5450bb459f1a564303c98058a8a39f216a8;hb=daa899130fdd40f5df720ee54980b00b07903dc4;hpb=753e9e642f1cf7aa6e46a31aeebc65da26c8bf2e diff --git a/gfio.h b/gfio.h index dd69c545..aa14e3c7 100644 --- a/gfio.h +++ b/gfio.h @@ -3,6 +3,7 @@ #include +#include "gcompat.h" #include "stat.h" #include "thread_options.h" #include "ghelpers.h" @@ -31,6 +32,8 @@ struct eta_widget { GtkWidget *write_iops; GtkWidget *cw_bw; GtkWidget *cw_iops; + GtkWidget *trim_bw; + GtkWidget *trim_iops; }; struct gfio_graphs { @@ -40,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; }; /* @@ -145,6 +150,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; @@ -152,6 +159,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; }; @@ -164,5 +174,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