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

Tim.Bird at sony.com Tim.Bird at sony.com
Thu Feb 8 05:55:12 UTC 2018


OK - that's better.  The numbers on the one board that this works on
now make sense.

Thanks.  Applied.
 -- Tim


> -----Original Message-----
> From: fuego-bounces at lists.linuxfoundation.org [mailto:fuego-
> bounces at lists.linuxfoundation.org] On Behalf Of Hoang Van Tuyen
> Sent: Wednesday, February 07, 2018 7:49 PM
> To: fuego at lists.linuxfoundation.org
> Subject: [Fuego] [PATCH 2/2] deadlinetest: parser.py: Correct putting in
> order several, fields
> 
> 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
> 
> _______________________________________________
> Fuego mailing list
> Fuego at lists.linuxfoundation.org
> https://lists.linuxfoundation.org/mailman/listinfo/fuego


More information about the Fuego mailing list