Hi Deepac,
The back channel in my project doesn't work,so I use the debug information instead.
As shown below is the code and some debug information in my project.
CYCLES_START(oCycleCntStats);
/* SigmaStudio process function */
eSSnReturn = adi_ss_process(hSSn,
(adi_ss_sample_t *)(&Block_In[0]),
(adi_ss_sample_t *)(&Block_Out[0]),
(adi_ss_bitstream_t*)&Block_In_Spdif[0]);
CYCLES_STOP(oCycleCntStats);
CYCLES_PRINT(oCycleCntStats);
In the console window,it prints: CYCLES : 17337
Also,the MIPS details would be shown as below.
Codes:
nTotalSamples += NUM_SAMPLES;
nAvgCyclePerSample = (float)oCycleCntStats._total_cycles/nTotalSamples;
nMips = nAvgCyclePerSample*SAMPLING_RATE/1000000;
nPeakMips = ((float)oCycleCntStats._max_cycles/(NUM_SAMPLES))*SAMPLING_RATE/1000000;
And the expression information:
nPeakMips | float | 13.0028 | |
nMips | float | 13.0028 | |
nAvgCyclePerSample | float | 135.445 | |
nTotalSamples | int | 128 |
Thank you for your reply,Deepak.
Regards,
Liang