Program Execution Timer/Cycle Count Timer for UDOO Linux?

Discussion in 'Linux Ubuntu' started by javawolfpack, Jun 1, 2014.

  1. javawolfpack

    javawolfpack New Member

    Joined:
    Jun 1, 2014
    Messages:
    8
    Likes Received:
    0
    I have a project that I'm porting from an x86 environment and have been using a library called rtdsc.h to get they cycle count. This is not useful on UDOO as it is an ARMv7 processor and doesn't support the assembly calls made in this library.

    I've been looking for something that'll have the same level of accuracy, etc.

    I stumbled upon this article for an ARMv8 environment:

    http://stackoverflow.com/questions/3247 ... -processor

    This has the downside of it seemingly needs functionality executed at the kernel level and I'm not really sure I want to spend the time to figure that out currently. Plus, I'm unsure if it'll work on the UDOO or not.

    If anyone has some thoughts or ideas on this it would be greatly appreciated. This appears to be the major technical hurdle I foresee to get the basic project migrated.

    TL;DR version: UDOO linux option to replace rtdsc.h from x86 environment.
     

Share This Page