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

"Bird, Tim" <[email protected]> Tue, 19 Apr 2022 20:39:26 +0000
Newsgroups dev.linux.lists.fuego
Message-ID <BYAPR13MB2503F4582E967323E0C1DF00FDF29@BYAPR13MB2503.namprd13.prod.outlook.com>
Looks good. Applied and pushed.
 -- Tim


> -----Original Message-----
> From: [email protected] <[email protected]=
m>
> Sent: Monday, April 18, 2022 5:35 AM
> To: Bird, Tim <[email protected]>
> Cc: sireesha <[email protected]>; [email protected]=
tion.org; [email protected];
> [email protected]
> Subject: [PATCH 1/2] Dhrystone: Update measure name to 'microseconds_for_=
one_run'
>=20
> From: sireesha <[email protected]>
>=20
> 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(-)
>=20
> diff --git a/tests/Benchmark.Dhrystone/parser.py b/tests/Benchmark.Dhryst=
one/parser.py
> index 62447e9..fd07cff 100755
> --- a/tests/Benchmark.Dhrystone/parser.py
> +++ b/tests/Benchmark.Dhrystone/parser.py
> @@ -9,6 +9,6 @@ measurements =3D {}
>  matches =3D plib.parse_log(regex_string)
>=20
>  if matches:
> -    measurements['default.Dhrystone'] =3D [{"name": "microseconds_onerun=
", "measure" : float(matches[0][2])},{"name": "Score",
> "measure" : float(matches[1][2])}]
> +    measurements['default.Dhrystone'] =3D [{"name": "microseconds_for_on=
e_run", "measure" : float(matches[0][2])},{"name": "Score",
> "measure" : float(matches[1][2])}]
>=20
>  sys.exit(plib.process(measurements))
> diff --git a/tests/Benchmark.Dhrystone/reference.json b/tests/Benchmark.D=
hrystone/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"
>                          }
>=20
> --
> 2.20.1
>=20