fio_util: Newer FIO change latency key name
Instead of clat_percentile, newer fio uses clat_ns_percentile.
BUG=b:63876697
TEST=Ran "test_that evenvme hardware_StorageFio.quicktest"
Verify that latency entries are now added:
"_1m_write_write_clat_ns_percentile_99.000000": {
"SAMSUNG_KUS030205M-B001_256G": {
"units": "us",
"type": "scalar",
"value": 4882432.0,
"improvement_direction": "down"
}
},
...
Change-Id: I6904f1d0ab45c375c212859f0948afc232c06318
Signed-off-by: Gwendal Grignou <gwendal@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1066795
Reviewed-by: Alexis Savery <asavery@chromium.org>
diff --git a/client/bin/fio_util.py b/client/bin/fio_util.py
index 6645b2d..3715940 100644
--- a/client/bin/fio_util.py
+++ b/client/bin/fio_util.py
@@ -434,7 +434,8 @@
if k.endswith('bw'):
test.output_perf_value(description=perfdb_name, graph=k, value=v,
units='KB_per_sec', higher_is_better=True)
- elif k.rstrip('0').endswith('clat_percentile_99.'):
+ elif k.rstrip('0').endswith(('clat_percentile_99.',
+ 'clat_ns_percentile_99.')):
test.output_perf_value(description=perfdb_name, graph=k, value=v,
units='us', higher_is_better=False)
return result