summaryrefslogtreecommitdiff
path: root/cconv.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 /cconv.c
parent2f28bb35f2b62ba865e083be63773295a10692ad (diff)
downloadfio-e883cb3501de0f99297282c18842d50aaa7fa531.tar.gz
fio-e883cb3501de0f99297282c18842d50aaa7fa531.tar.bz2
add significant_figures parameter
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'cconv.c')
-rw-r--r--cconv.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cconv.c b/cconv.c
index dc3c4e67..1a41dc3e 100644
--- a/cconv.c
+++ b/cconv.c
@@ -270,6 +270,7 @@ void convert_thread_options_to_cpu(struct thread_options *o,
o->clat_percentiles = le32_to_cpu(top->clat_percentiles);
o->lat_percentiles = le32_to_cpu(top->lat_percentiles);
o->percentile_precision = le32_to_cpu(top->percentile_precision);
+ o->sig_figs = le32_to_cpu(top->sig_figs);
o->continue_on_error = le32_to_cpu(top->continue_on_error);
o->cgroup_weight = le32_to_cpu(top->cgroup_weight);
o->cgroup_nodelete = le32_to_cpu(top->cgroup_nodelete);
@@ -458,6 +459,7 @@ void convert_thread_options_to_net(struct thread_options_pack *top,
top->clat_percentiles = cpu_to_le32(o->clat_percentiles);
top->lat_percentiles = cpu_to_le32(o->lat_percentiles);
top->percentile_precision = cpu_to_le32(o->percentile_precision);
+ top->sig_figs = cpu_to_le32(o->sig_figs);
top->continue_on_error = cpu_to_le32(o->continue_on_error);
top->cgroup_weight = cpu_to_le32(o->cgroup_weight);
top->cgroup_nodelete = cpu_to_le32(o->cgroup_nodelete);