projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
options: pass in right pointer to options free
[fio.git]
/
gclient.c
diff --git
a/gclient.c
b/gclient.c
index d236f86667ffeb4624222c2d14de626438a59ce6..9c32474669dbf535e3875757baf29947e752e395 100644
(file)
--- a/
gclient.c
+++ b/
gclient.c
@@
-13,6
+13,7
@@
#include "graph.h"
#include "gclient.h"
#include "printing.h"
#include "graph.h"
#include "gclient.h"
#include "printing.h"
+#include "lib/pow2.h"
static void gfio_display_ts(struct fio_client *client, struct thread_stat *ts,
struct group_run_stats *rs);
static void gfio_display_ts(struct fio_client *client, struct thread_stat *ts,
struct group_run_stats *rs);
@@
-295,7
+296,7
@@
static void gfio_thread_status_op(struct fio_client *client,
if (sum_stat_clients == 1)
return;
if (sum_stat_clients == 1)
return;
- sum_thread_stats(&client_ts, &p->ts, sum_stat_nr);
+ sum_thread_stats(&client_ts, &p->ts, sum_stat_nr
== 1
);
sum_group_stats(&client_gs, &p->rs);
client_ts.members++;
sum_group_stats(&client_gs, &p->rs);
client_ts.members++;
@@
-692,12
+693,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=%u\n", pdu->name, pdu->log_type, pdu->nr_samples);
- free(pdu);
-}
-
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)
{
@@
-1393,7
+1388,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,