server: include number of CPUs in probe reply
[fio.git] / gfio.h
diff --git a/gfio.h b/gfio.h
index b8de680a06184e98e0facf127d72234fbffdcdf3..c0427687dfc17c7af5435cfa2db8a0f5b92c0592 100644 (file)
--- a/gfio.h
+++ b/gfio.h
@@ -3,6 +3,7 @@
 
 #include <gtk/gtk.h>
 
+#include "gcompat.h"
 #include "stat.h"
 #include "thread_options.h"
 #include "ghelpers.h"
@@ -136,15 +137,27 @@ struct end_results {
        struct thread_stat ts;
 };
 
+struct gfio_client_options {
+       struct flist_head list;
+       struct thread_options o;
+};
+
 struct gfio_client {
        struct gui_entry *ge;
        struct fio_client *client;
        GtkWidget *err_entry;
-       struct thread_options o;
+       uint32_t client_cpus;
+       uint64_t client_flags;
+
+       struct flist_head o_list;
+       unsigned int o_list_nr;
 
        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;
 };