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

DS-5: memory profiling in eclipse

Note: This was originally posted on 19th December 2011 at http://forums.arm.com

guys.....
can anyone explain how to find number of cycles count for a C program in eclipse for  "ARM- CORTEX - A8 RTSM pre-configured to boot ARM Embedded Linux configuration",in DS-5
  • Note: This was originally posted on 20th December 2011 at http://forums.arm.com


    guys.....
    can anyone explain how to find number of cycles count for a C program in eclipse for  "ARM- CORTEX - A8 RTSM pre-configured to boot ARM Embedded Linux configuration",in DS-5


    The RTSM shows an instruction count at the top of it's LCD window, but it does not try to keep track of cycles and does not have PMU counters.  Counting the cycles would slow it down too much.

    You could consider getting one of the many cheap Linux boards: BeagleBoard, PandaBoard, Snowball, Overo, Origen (to name a few that are supported by Linaro).  Then you could use tools like Streamline to analyse performance, although it still won't be easy to get the number cycles for a single application?
  • Note: This was originally posted on 20th December 2011 at http://forums.arm.com


    Last 2 days, I am working on working this ARM streamline thing From the cheat sheet available for 'ARM streamline quick start', I started with setting up with gator driver and daemon. [...]


    This question doesn't really belong in this thread -- it would be better to start a new thread.  But I'll reply here in case it helps someone that runs across it.

    I'm afraid you're up against some large problems.

    1. You won't be able to rebuild the kernel on a Windows host.  (Theoretically, you could use the RTSM as a build host, but you would have to install tools and sources and would run out of memory, disk and patience.)
    2. Streamline isn't going to work well, if at all on the RTSM because the RTSM doesn't support the PMU counters Streamline wants to use and doesn't do networking.

    Turing to your questions:

    By "navigate" they mean change directory "cd" on the host.  In the RTSM Linux distribution .zip file is a readme.html that describes how to use a Linux host to rebuild the kernel and the image that the RTSM uses.

    If you have further questions about this, please start a new thread.