This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to measure the MIPS of a ASP on DA830 EVM running PA/F

Other Parts Discussed in Thread: DA8XX

I am developing ASP for PA/F on DA830. I currently use the CPU Load Data to see the CPU cycles consumed by audioStream1Task() thread. It seems not very accurate. How can I measure the MIPS of my ASP more accurately? Thank you!

  • Zhaosheng Pan,

    Please have a look at the below wiki page at section "How to measure peak mips"

    http://processors.wiki.ti.com/index.php/DA8xx_PA/F_Integration_tips

  • Hi Zhaosheng,

    Thanks for your post.

    There is an option to select "CPU Load Graph" from the DSP/BIOS menu of Code Composer Studio to observe the MIPS load on the CPU and to understand this, there is an example demo (Example 5-11, Section 5.8, page no. 167) available in the PA UserGuide (which can be found in the Path: \PA SDK 100713\pa\doc\pa-ug_da8xx_100713.pdf) that explains how to increase or decrease the MIPS load (CPU load).

    Also, there is an MIPS Load ASP algorithm in the Audio stream processing chain for PA Y and the details regarding the operation of MIPS Load are given in Appendix J (page no. 297) on the same document in the PA User Guide which can be found at the same path mentioned above. Please refer the same to get the API details that permits to exercise control over its operation.

    Also, there are PA FIL library API's which provides a library of functions for programmers to implement MIPS efficient floating point audio filters for TMS320DA8xx family of devices and this is available as pdf document in the PA SDK installation path which can be found at (Path: \PA SDK 100713\pa\doc\pa-asp-fil.pdf).

    Please check the release notes in the PA SDK installation path (\PA SDK 100713\release.html) in which you will get all details about PA/F Documents.

    Also, please refer the below wiki for the PA/F Programming Interface for ASP algorithms:

    http://processors.wiki.ti.com/index.php/DA8xx_ASP_Programming_Interface#ASP_Component

    Thanks & regards,

    Sivaraj K

    ---------------------------------------------------------------------------------
    Please click the
    Verify Answer button on this post if it answers your question.
    ---------------------------------------------------------------------------------

  • If I use readSYSCpuLoad to get the CPU load data, does that mean the (CPU load percentage)*(DSP frequency (300MHz)) = the total MIPS of the code running on it?

    Thanks,

    Zhaosheng

  • Zhaosheng,

    Yes, You can Observe the CPU load by using alpha code as mentioned in the previous post.
    The readSYSCpuLoad is defined as "0xc200+STD_BETA_SYSIDL,0x1500". Refer the PA SDK 100713\tools\galfa.