summaryrefslogtreecommitdiff
path: root/server.c
diff options
context:
space:
mode:
authorJeff Furlong <jeff.furlong@wdc.com>2017-11-22 11:38:33 -0700
committerJens Axboe <axboe@kernel.dk>2017-11-22 11:38:33 -0700
commite883cb3501de0f99297282c18842d50aaa7fa531 (patch)
treeebd36a14fa6de55bcece785dd69ba661e12994a2 /server.c
parent2f28bb35f2b62ba865e083be63773295a10692ad (diff)
add significant_figures parameter
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'server.c')
-rw-r--r--server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/server.c b/server.c
index e6ea4cd..967cebe 100644
--- a/server.c
+++ b/server.c
@@ -1538,6 +1538,8 @@ void fio_server_send_ts(struct thread_stat *ts, struct group_run_stats *rs)
p.ts.latency_window = cpu_to_le64(ts->latency_window);
p.ts.latency_percentile.u.i = cpu_to_le64(fio_double_to_uint64(ts->latency_percentile.u.f));
+ p.ts.sig_figs = cpu_to_le32(ts->sig_figs);
+
p.ts.nr_block_infos = cpu_to_le64(ts->nr_block_infos);
for (i = 0; i < p.ts.nr_block_infos; i++)
p.ts.block_infos[i] = cpu_to_le32(ts->block_infos[i]);