projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gfio: add per-job option view
[fio.git]
/
gfio.h
diff --git
a/gfio.h
b/gfio.h
index 4a602926c4c29a056d4c7229c73e73d41dd2d7aa..dd69c5450bb459f1a564303c98058a8a39f216a8 100644
(file)
--- a/
gfio.h
+++ b/
gfio.h
@@
-3,10
+3,10
@@
#include <gtk/gtk.h>
#include <gtk/gtk.h>
-#include "flist.h"
#include "stat.h"
#include "thread_options.h"
#include "ghelpers.h"
#include "stat.h"
#include "thread_options.h"
#include "ghelpers.h"
+#include "graph.h"
struct probe_widget {
GtkWidget *hostname;
struct probe_widget {
GtkWidget *hostname;
@@
-38,7
+38,11
@@
struct gfio_graphs {
#define DRAWING_AREA_YDIM 400
GtkWidget *drawing_area;
struct graph *iops_graph;
#define DRAWING_AREA_YDIM 400
GtkWidget *drawing_area;
struct graph *iops_graph;
+ graph_label_t read_iops;
+ graph_label_t write_iops;
struct graph *bandwidth_graph;
struct graph *bandwidth_graph;
+ graph_label_t read_bw;
+ graph_label_t write_bw;
};
/*
};
/*
@@
-68,7
+72,7
@@
struct gui {
pthread_t t;
int handler_running;
pthread_t t;
int handler_running;
-
struct flist_head list
;
+
GHashTable *ge_hash
;
} main_ui;
enum {
} main_ui;
enum {
@@
-91,7
+95,6
@@
enum {
* Notebook entry
*/
struct gui_entry {
* Notebook entry
*/
struct gui_entry {
- struct flist_head list;
struct gui *ui;
GtkWidget *vbox;
struct gui *ui;
GtkWidget *vbox;
@@
-133,11
+136,18
@@
struct end_results {
struct thread_stat ts;
};
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 gfio_client {
struct gui_entry *ge;
struct fio_client *client;
GtkWidget *err_entry;
- struct thread_options o;
+
+ struct flist_head o_list;
+ unsigned int o_list_nr;
struct end_results *results;
unsigned int nr_results;
struct end_results *results;
unsigned int nr_results;
@@
-146,8
+156,6
@@
struct gfio_client {
unsigned int nr_du;
};
unsigned int nr_du;
};
-#define ARRAYSIZE(x) (sizeof((x)) / (sizeof((x)[0])))
-
#define GFIO_MIME "text/fio"
extern void gfio_view_log(struct gui *ui);
#define GFIO_MIME "text/fio"
extern void gfio_view_log(struct gui *ui);