mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
a7cfd28bd0
When the cpufreq module is loaded, quite likely we want to run experiments which involve an analysis of frequencies transitions. However, if during an experiment there are not cpu_frequency events, the generated trace does not allows to know at which frequency the experiment has been executed. This happens for example when we are running at constant frequency or just because the workload is not generating a variable capacity request in the system. This path ensure the a "cpu_frequency" events is always generated at the beginning and at the end of a collected trace. This support is required for example to properly plot CPUs frequencies event when there are not CPUFreq generated changes of OPP. Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>