aboutsummaryrefslogtreecommitdiff
path: root/scripts/simplebench/bench-example.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/simplebench/bench-example.py')
-rw-r--r--scripts/simplebench/bench-example.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/simplebench/bench-example.py b/scripts/simplebench/bench-example.py
index f24cf22fe9..d9c7f7bc17 100644
--- a/scripts/simplebench/bench-example.py
+++ b/scripts/simplebench/bench-example.py
@@ -19,6 +19,7 @@
#
import simplebench
+from results_to_text import results_to_text
from bench_block_job import bench_block_copy, drv_file, drv_nbd
@@ -77,4 +78,4 @@ test_envs = [
]
result = simplebench.bench(bench_func, test_envs, test_cases, count=3)
-print(simplebench.results_to_text(result))
+print(results_to_text(result))