libs/utils/trace_analysis: compute per-cluster and per-CPU frequency residency
libs/utils/trace_analysis: compute per-cluster and per-CPU frequency residency

Frequency residency is the time spent by a cluster or a CPU at a certain
frequency.

Both active (i.e. non-idle) and total frequency residencies are computed.

Signed-off-by: Michele Di Giorgio <99fd0b6f5a4e02a4022988691284da2a0299b046@arm.com>

arnoldlu/lisa,joelagnel/lisa,ARM-software/lisa,credp/lisa,JaviMerino/lisa,bjackman/lisa,credp/lisa,mdigiorgio/lisa,credp/lisa,joelagnel/lisa,arnoldlu/lisa,credp/lisa,ARM-software/lisa,ARM-software/lisa,ARM-software/lisa,bjackman/lisa,mdigiorgio/lisa