summaryrefslogtreecommitdiff
path: root/stat.h
diff options
context:
space:
mode:
authorVincent Fu <Vincent.Fu@sandisk.com>2016-12-02 12:51:36 -0500
committerVincent Fu <Vincent.Fu@sandisk.com>2016-12-07 16:02:44 -0500
commitbb49c8bd53e2b3fd7abe31fde742b5f2b1563ef5 (patch)
tree4969df40c6836e85fa7e245ffe19d73cfa6893b9 /stat.h
parentd685adfb27d3f2f94a6623c774a246bcaac2f853 (diff)
downloadfio-bb49c8bd53e2b3fd7abe31fde742b5f2b1563ef5.tar.gz
fio-bb49c8bd53e2b3fd7abe31fde742b5f2b1563ef5.tar.bz2
steadystate: implement transmission of steadystate data over the wire in client/server mode
1) Pare down thread_stat steadystate members to only those that need to go over the wire 2) Plumb up sending/receiving of steadystate data including ring buffers
Diffstat (limited to 'stat.h')
-rw-r--r--stat.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/stat.h b/stat.h
index 357a1ff1..eb7397d2 100644
--- a/stat.h
+++ b/stat.h
@@ -214,7 +214,18 @@ struct thread_stat {
fio_fp64_t latency_percentile;
uint64_t latency_window;
- struct steadystate_data *ss;
+ uint64_t ss_dur;
+ uint32_t ss_state;
+ uint32_t ss_head;
+ uint64_t ss_sum_y;
+
+ uint64_t *ss_iops_data;
+ uint64_t *ss_bw_data;
+
+ fio_fp64_t ss_limit;
+ fio_fp64_t ss_slope;
+ fio_fp64_t ss_deviation;
+ fio_fp64_t ss_criterion;
} __attribute__((packed));
struct jobs_eta {