[Sound-open-firmware] [PATCH] [RFC]platform: calculate the percentage of cpu cycle

Liam Girdwood liam.r.girdwood at linux.intel.com
Fri Jun 22 12:13:57 CEST 2018


On Fri, 2018-06-22 at 16:46 +0800, zhigangw wrote:
> > 
> > Liam
> 
> I want to estimate the CPU usage.
> How to estimate this with the verbose trace.
> Do you have any idea?

The pipeline work can be timed by looking at the pipeline schedule start and
finish trace messages and the time delta between them. 

e.g. consider a pipeline with a 1ms scheduling tick that takes 200uS to run from
start to finish. The pipeline CPU utilisation is 20%

Liam



More information about the Sound-open-firmware mailing list