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

Liam Girdwood liam.r.girdwood at linux.intel.com
Mon Jun 25 15:19:26 CEST 2018


On Mon, 2018-06-25 at 17:16 +0800, zhigangw wrote:
> Maybe my question is stupid,
> I think the pipeline's start point is over here in dai_dma_cb() function:
> 
>      if (dev->state == COMP_STATE_ACTIVE) {
>          /* I will add the trace code here to print as pipeline start 
> point */
>          pipeline_schedule_copy(dev->pipeline, 0);
>      }
> 
> Where is the finish point of the pipeline? :-

Your pipeline is scheduled by the DMA callback and will run immediately atm. 

Please look at pipeline_task() for start and finish trace messages.

Liam


More information about the Sound-open-firmware mailing list