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

performance counter

Note: This was originally posted on 11th February 2013 at http://forums.arm.com

I'm porting an application to an ARM® Cortex-A9 based system  running Ubuntu 12.04 and I need a way to query a performance counter.  On Windows we used the function QueryPerformanceCounter() and on Intel-based Linux we used assembly code w/ the rdtsc command.  Is there a similar command or some assembly language that I can use to achieve this capability on an ARM system?
Parents
  • Note: This was originally posted on 12th February 2013 at http://forums.arm.com

    Also generally worth noting that Linux tends to have higher resolution in its normal time APIs than windows, so many of the uses of QPC on Windows can just use gettimeoffday, which can return up to us resolution if available.
Reply
  • Note: This was originally posted on 12th February 2013 at http://forums.arm.com

    Also generally worth noting that Linux tends to have higher resolution in its normal time APIs than windows, so many of the uses of QPC on Windows can just use gettimeoffday, which can return up to us resolution if available.
Children
No data