From df996c04f5fa221302ea4644480e330222e3db16 Mon Sep 17 00:00:00 2001 From: Yuke Peng Date: Fri, 2 Aug 2024 21:40:40 +0800 Subject: [PATCH] Fix pipe test --- test/benchmark/lmbench-pipe-bandwidth/config.json | 6 ++++-- test/benchmark/lmbench-pipe-latency/config.json | 6 ++++-- test/benchmark/lmbench-pipe-latency/result_template.json | 4 ++-- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/test/benchmark/lmbench-pipe-bandwidth/config.json b/test/benchmark/lmbench-pipe-bandwidth/config.json index 145c671cb..c22b8428c 100644 --- a/test/benchmark/lmbench-pipe-bandwidth/config.json +++ b/test/benchmark/lmbench-pipe-bandwidth/config.json @@ -1,5 +1,7 @@ { "alert_threshold": "125%", - "pattern": "Pipe bandwidth", - "field": "3" + "alert_tool": "customBiggerIsBetter", + "search_pattern": "Pipe bandwidth", + "result_index": "3", + "description": "The bandwidth of pipe on a single processor." } diff --git a/test/benchmark/lmbench-pipe-latency/config.json b/test/benchmark/lmbench-pipe-latency/config.json index 03795513f..70a5207c1 100644 --- a/test/benchmark/lmbench-pipe-latency/config.json +++ b/test/benchmark/lmbench-pipe-latency/config.json @@ -1,5 +1,7 @@ { "alert_threshold": "125%", - "pattern": "Pipe latency", - "field": "3" + "alert_tool": "customSmallerIsBetter", + "search_pattern": "Pipe latency", + "result_index": "3", + "description": "The latency of pipe on a single processor." } diff --git a/test/benchmark/lmbench-pipe-latency/result_template.json b/test/benchmark/lmbench-pipe-latency/result_template.json index 6d2d69d63..b3ea89611 100644 --- a/test/benchmark/lmbench-pipe-latency/result_template.json +++ b/test/benchmark/lmbench-pipe-latency/result_template.json @@ -1,13 +1,13 @@ [ { "name": "Average pipe latency on Linux", - "unit": "ms", + "unit": "µs", "value": 0, "extra": "linux_avg" }, { "name": "Average pipe latency on Asterinas", - "unit": "ms", + "unit": "µs", "value": 0, "extra": "aster_avg" }