projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bloom: allow to pass in whether to set bits for strings
[fio.git]
/
gclient.c
diff --git
a/gclient.c
b/gclient.c
index 949ad42abc87c7e01f8f7bb7b03a04a8d77f64b6..23b0899322052f20744c149561351829325169f1 100644
(file)
--- a/
gclient.c
+++ b/
gclient.c
@@
-280,10
+280,6
@@
static void gfio_disk_util_op(struct fio_client *client, struct fio_net_cmd *cmd
gdk_threads_leave();
}
gdk_threads_leave();
}
-extern int sum_stat_clients;
-extern struct thread_stat client_ts;
-extern struct group_run_stats client_gs;
-
static int sum_stat_nr;
static void gfio_thread_status_op(struct fio_client *client,
static int sum_stat_nr;
static void gfio_thread_status_op(struct fio_client *client,
@@
-693,11
+689,6
@@
static void gfio_client_job_start(struct fio_client *client, struct fio_net_cmd
gdk_threads_leave();
}
gdk_threads_leave();
}
-static void gfio_client_iolog(struct fio_client *client, struct cmd_iolog_pdu *pdu)
-{
- printf("got iolog: name=%s, type=%u, entries=%lu\n", pdu->name, pdu->log_type, (unsigned long) pdu->nr_samples);
-}
-
static void gfio_add_total_depths_tree(GtkListStore *model,
struct thread_stat *ts, unsigned int len)
{
static void gfio_add_total_depths_tree(GtkListStore *model,
struct thread_stat *ts, unsigned int len)
{
@@
-1017,7
+1008,7
@@
static void gfio_show_lat(GtkWidget *vbox, const char *name, unsigned long min,
char *minp, *maxp;
char tmp[64];
char *minp, *maxp;
char tmp[64];
- if (
!
usec_to_msec(&min, &max, &mean, &dev))
+ if (usec_to_msec(&min, &max, &mean, &dev))
base = "(msec)";
minp = num2str(min, 6, 1, 0, 0);
base = "(msec)";
minp = num2str(min, 6, 1, 0, 0);
@@
-1393,7
+1384,6
@@
struct client_ops gfio_client_ops = {
.stop = gfio_client_stop,
.start = gfio_client_start,
.job_start = gfio_client_job_start,
.stop = gfio_client_stop,
.start = gfio_client_start,
.job_start = gfio_client_job_start,
- .iolog = gfio_client_iolog,
.removed = gfio_client_removed,
.eta_msec = FIO_CLIENT_DEF_ETA_MSEC,
.stay_connected = 1,
.removed = gfio_client_removed,
.eta_msec = FIO_CLIENT_DEF_ETA_MSEC,
.stay_connected = 1,