Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

[FAQ] PROCESSOR-SDK-AM62X: Profiling CPU Cycles in Application Using Cycle Counter

Part Number: PROCESSOR-SDK-AM64X

Hi,

There is a concern around figuring out a way to profile your application, 

and compute time in microseconds.

We will see an approach to do the same and look at how we can compute the time as well.

Thanks,

Vaibhav

  • You can follow the steps below:

    • Firstly compute the CPU Cycles, you can refer this link to compute CPU Cycles.
    • Once you have the CPU Cycles, you can proceed to the next step.
    • Now, Consider the core your application is running on. 
    • You need the frequency of the core. Look at the table below.

    • Compute the time in microseconds by using the below formula:

                Time(In Microseconds) = cpuCycles * (1 / Frequency Of Core)