Skip to content
Commit d3d1da1b authored by Patrick Bellasi's avatar Patrick Bellasi
Browse files

libs/utils/trace_analysis: fix overutilized bands computation



It could happens that multiple events are generated (e.g. on different CPUs)
at the exact same time. When this happens, the current code to compute
overutilization bands generates bands which are described by a list of
intervals thus confusing the following plotting code.

This patch ensure that we do not have 0 length bands, which are not required
by the plotting code. This allows to have a proper representation of
overutilization intervals with the maximum available granularity.

Signed-off-by: default avatarPatrick Bellasi <patrick.bellasi@arm.com>
parent 49c99026
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment