Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: what's the difference between the application for sigma studio version of 2.0.0 and 2.1.0?

$
0
0

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:

nPeakMipsfloat13.0028
nMipsfloat13.0028
nAvgCyclePerSamplefloat135.445
nTotalSamplesint128

Thank you for your reply,Deepak.

 

Regards,

Liang


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>