1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-01-18 12:06:08 +00:00
workload-automation/wa
Kajetan Puchalski b0f9072830 perf: Fix processing simpleperf stats
Currently, when processing the output of 'simpleperf stat', wa does not
skip the header and tries to process part of it as a number, leading
to type errors. This change skips the header (line starting with '#').

Furthermore, some events (e.g. cpu-clock or task-clock) include "(ms)"
in their count value and are floats instead of integers. Because of
this, when either of those is included, processing metrics fails due to
assuming every metric is an integer. Then another error happens when the
code tries to split the line on '(' assuming that there's only one set
of those around the percentage.

This change removes "(ms)" from the line
before it's processed and properly determines whether 'count' is an
integer or a float before attempting to convert it.
2022-08-08 11:04:13 +01:00
..
assets/bin tools/revent: update binaries to latest version 2019-01-07 13:31:07 +00:00
commands Upgrade Gradle to 7.2 and Android Gradle plugin to 4.2. 2021-09-29 09:46:51 +01:00
framework Upgrade Gradle to 7.2 and Android Gradle plugin to 4.2. 2021-09-29 09:46:51 +01:00
instruments perf: Fix processing simpleperf stats 2022-08-08 11:04:13 +01:00
output_processors pep8: Ignore line break before binary operator 2020-10-30 11:49:54 +00:00
tools/revent tools/revent: recording timestamp fix 2018-10-15 09:48:02 +01:00
utils utils/doc: Fix display of Falsey default parameters 2021-01-11 15:32:34 +00:00
workloads geekbench: Add/fix support for Geekbench5 2022-03-01 08:25:52 +00:00
__init__.py workloads: Add support for UIBench Jank Tests 2019-06-28 09:27:56 +01:00