[Fuego] [PATCH 1/2] Dhrystone: Update measure name to 'microseconds_for_one_run'

[email protected] Mon, 18 Apr 2022 17:05:08 +0530
Newsgroups dev.linux.lists.fuego
Message-ID <[email protected]>
From: sireesha <[email protected]>

Signed-off-by: sireesha <[email protected]>
---
 tests/Benchmark.Dhrystone/parser.py      | 2 +-
 tests/Benchmark.Dhrystone/reference.json | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/Benchmark.Dhrystone/parser.py b/tests/Benchmark.Dhrystone/parser.py
index 62447e9..fd07cff 100755
--- a/tests/Benchmark.Dhrystone/parser.py
+++ b/tests/Benchmark.Dhrystone/parser.py
@@ -9,6 +9,6 @@ measurements = {}
 matches = plib.parse_log(regex_string)
 
 if matches:
-    measurements['default.Dhrystone'] = [{"name": "microseconds_onerun", "measure" : float(matches[0][2])},{"name": "Score", "measure" : float(matches[1][2])}]
+    measurements['default.Dhrystone'] = [{"name": "microseconds_for_one_run", "measure" : float(matches[0][2])},{"name": "Score", "measure" : float(matches[1][2])}]
 
 sys.exit(plib.process(measurements))
diff --git a/tests/Benchmark.Dhrystone/reference.json b/tests/Benchmark.Dhrystone/reference.json
index 443ebcf..1551504 100644
--- a/tests/Benchmark.Dhrystone/reference.json
+++ b/tests/Benchmark.Dhrystone/reference.json
@@ -11,7 +11,7 @@
                             "unit":"Dhrystones/s"
                         },
 			{
-                            "name":"microseconds_onerun",
+                            "name":"microseconds_for_one_run",
                             "unit":"us"
                         }
 
-- 
2.20.1