This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Is it Profilling Data is Cycle Accurate?

Note: This was originally posted on 22nd April 2009 at http://forums.arm.com

Hi Friends,

          I am getting profilling analysis information from ARM work bench IDE. I am getting this profile information by running my application on RTSM of ARM1136jf-s.


         But it is giving some delay time, self time and etc. I want to get Cycle Accurate information using profilling through RTSM is it possible? if it is possible how? please help to me to find Cycle Accurate information using profilling.


Regards,
Ranjith.
Parents
  • Note: This was originally posted on 24th April 2009 at http://forums.arm.com

    Hi,

              Thanks for faster replies..

             Do you have any example code for finding the cycles for a loop or function using performance counters and CPU events for ARM1136jf-s???

    Example:    clk = clock();

                      function1(int, char, ....);

                      clk = clock() - clk;

                     if i print,  the "clk"  value, it will give exact cycles for function1.

              From the below link i have downloaded some source for performance counters information for ARM1136jf-s.

    infocenter.arm.com/.../index.jsp

            Is i have to use this performance counters or others?? if yes means, can you please tell me how use the performance code like above example..   i am unable to use this performance code??

            Thanks in Advance...

    Best Regards, 
    Ranjith Kumar K,
    satyaranjith@gmail.com
Reply
  • Note: This was originally posted on 24th April 2009 at http://forums.arm.com

    Hi,

              Thanks for faster replies..

             Do you have any example code for finding the cycles for a loop or function using performance counters and CPU events for ARM1136jf-s???

    Example:    clk = clock();

                      function1(int, char, ....);

                      clk = clock() - clk;

                     if i print,  the "clk"  value, it will give exact cycles for function1.

              From the below link i have downloaded some source for performance counters information for ARM1136jf-s.

    infocenter.arm.com/.../index.jsp

            Is i have to use this performance counters or others?? if yes means, can you please tell me how use the performance code like above example..   i am unable to use this performance code??

            Thanks in Advance...

    Best Regards, 
    Ranjith Kumar K,
    satyaranjith@gmail.com
Children
No data