Veronika Molnarova
fa52d995d1
perf test stat+shadow_stat.sh: Add threshold for rounding errors
...
The test was failing in specific scenarios due to imperfection of FP
arithmetics. The `bc` command wasn't correctly rounding the result of
division causing the failure.
Replace the `bc` with `awk` which should work with more decimal places
and add a threshold to catch any possible rounding errors. The
acceptable rounding error is set to 0.01 when the test passes with a
warning message.
Signed-off-by: Veronika Molnarova <vmolnaro@redhat.com>
Acked-by: Michael Petlan <mpetlan@redhat.com>
Link: https://lore.kernel.org/r/20230919150419.23193-1-vmolnaro@redhat.com
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
2023-09-21 11:53:45 -07:00
..
2023-09-16 22:36:36 -07:00
2023-07-28 19:01:16 -03:00
2023-09-21 11:53:45 -07:00
2023-01-19 13:42:06 -03:00
2023-04-12 10:14:58 -03:00
2023-05-27 09:42:38 -03:00
2023-05-19 10:36:35 -03:00
2021-11-13 10:32:22 -03:00
2022-12-05 09:29:06 -03:00
2022-06-19 10:41:43 -03:00
2021-11-13 18:11:50 -03:00
2021-11-13 18:11:50 -03:00
2023-09-12 17:32:00 -03:00
2022-08-13 15:13:20 -03:00
2022-08-13 15:13:20 -03:00
2023-09-12 17:32:00 -03:00
2023-06-12 15:57:53 -03:00
2023-05-27 09:36:44 -03:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2023-08-15 16:41:49 -03:00
2021-11-13 10:32:22 -03:00
2023-06-12 15:57:53 -03:00
2023-05-27 09:41:39 -03:00
2022-10-04 08:55:21 -03:00
2022-08-10 14:30:09 -03:00
2023-05-15 09:12:13 -03:00
2021-11-13 10:32:22 -03:00
2023-04-24 14:28:11 -03:00
2023-09-15 16:46:40 -07:00
2021-11-13 10:32:22 -03:00
2021-11-13 10:32:22 -03:00
2023-06-12 15:57:53 -03:00
2017-11-02 11:10:55 +01:00
2023-06-12 15:57:53 -03:00
2023-06-12 15:57:53 -03:00
2023-06-12 15:57:53 -03:00
2023-06-12 15:57:53 -03:00
2021-11-13 10:32:22 -03:00
2022-08-10 14:30:09 -03:00
2021-11-13 10:32:22 -03:00
2023-09-18 16:46:53 -07:00
2023-06-12 15:57:53 -03:00
2022-12-05 09:29:06 -03:00
2021-11-13 10:32:22 -03:00
2023-08-16 08:52:47 -03:00
2023-06-12 15:57:53 -03:00
2022-10-04 08:55:19 -03:00
2022-10-31 11:06:41 -03:00
2022-11-16 12:17:15 -03:00
2023-09-11 10:26:36 -03:00
2023-05-27 09:42:38 -03:00
2022-10-31 11:06:41 -03:00
2023-06-27 12:14:38 -07:00
2020-09-04 14:38:15 -03:00
2020-09-04 14:38:15 -03:00
2020-09-04 14:38:15 -03:00
2021-11-13 10:32:22 -03:00
2022-10-31 11:07:08 -03:00
2023-06-12 15:57:53 -03:00
2022-10-31 11:06:41 -03:00
2023-03-13 17:42:27 -03:00
2023-08-29 14:16:15 -03:00
2023-09-11 10:26:36 -03:00
2023-05-27 09:35:14 -03:00
2023-02-02 17:18:31 -03:00
2021-11-13 10:32:22 -03:00
2022-10-04 08:55:22 -03:00
2023-07-24 18:23:18 -03:00
2022-10-31 11:06:41 -03:00
2023-05-27 09:42:38 -03:00
2023-06-12 15:57:53 -03:00
2023-07-17 10:27:44 -03:00
2023-09-12 17:32:00 -03:00
2022-11-16 12:17:15 -03:00
2023-06-12 15:57:53 -03:00
2021-11-13 10:32:22 -03:00
2023-05-27 09:42:38 -03:00
2021-11-13 10:32:22 -03:00
2023-09-12 17:32:00 -03:00
2023-04-19 12:54:41 -03:00
2022-11-23 10:32:53 -03:00