[Fuego] [PATCH 2/2] deadlinetest: parser.py: Correct putting in order several, fields

Hoang Van Tuyen tuyen.hoangvan at toshiba-tsdv.com
Thu Feb 8 03:49:24 UTC 2018


The ordering of thread array is max_intervals, min_intervals and 
avg_intervals.
Correct getting the value for the fields in this commit.

Signed-off-by: Hoang Van Tuyen <tuyen.hoangvan at toshiba-tsdv.com>
---
  engine/tests/Benchmark.deadlinetest/parser.py | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/engine/tests/Benchmark.deadlinetest/parser.py 
b/engine/tests/Benchmark.deadlinetest/parser.py
index 2f3893e..2462022 100755
--- a/engine/tests/Benchmark.deadlinetest/parser.py
+++ b/engine/tests/Benchmark.deadlinetest/parser.py
@@ -13,9 +13,9 @@ if matches:
         avg_intervals = []
         max_intervals = []
         for thread in matches:
-               min_intervals.append(float(thread[0]))
-               avg_intervals.append(float(thread[1]))
-               max_intervals.append(float(thread[2]))
+               max_intervals.append(float(thread[0]))
+               min_intervals.append(float(thread[1]))
+               avg_intervals.append(float(thread[2]))
         measurements['default.intervals'] = [
                 {"name": "max_interval", "measure" : max(max_intervals)},
                 {"name": "min_interval", "measure" : min(min_intervals)},
-- 
2.1.4


-- 
================================================================
Hoang Van Tuyen (Mr.)
TOSHIBA SOFTWARE DEVELOPMENT (VIETNAM) CO., LTD.
16th Floor, VIT Building, 519 Kim Ma Str., Ba Dinh Dist., Hanoi, Vietnam
Tel: 84-4-22208801 (Company) - Ext.251
Fax: 84-4-22208802 (Company)
Email: tuyen.hoangvan at toshiba-tsdv.com
================================================================


-- 
This mail was scanned by BitDefender
For more information please visit http://www.bitdefender.com



More information about the Fuego mailing list