Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: DS-5: memory profiling in eclipse - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

DS-5: memory profiling in eclipse for a C program Rate Topic: -----

#1 User is offline   manju1438 

  • Member
  • Pip
  • Group: Members
  • Posts: 3
  • Joined: 28-November 11

Posted 19 December 2011 - 10:25 AM

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
0

#2 User is offline   manjunatha 

  • Member
  • Pip
  • Group: Members
  • Posts: 9
  • Joined: 08-December 11

Posted 20 December 2011 - 05:14 AM

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.

In that task, first thing is downloading linux kernel source code. I done that part.

Later, cheat sheet asked to

1. Navigate to the root source directory of the linux kernel.

2. Invoke the following command in your shell: 'make ARCH=arm CROSS_COMPILE=${CROSS_TOOLS}/bin/arm-none-linux-gnueabi- <platform_defconfig>'. Replace <platform_defconfig> in the command with one of the configuration files located in the /arch/arm/configs directory appropriate for your platform or with a configuration file provided by a vendor. provided by a vendor.



This is the part where I stuck.

In the point1, navigation is asked to done. Navigation in Telnet or Navigation in DS-5 cmd??

I am working in windows machine, ds-5 with ARM CORTEX-A8 RTSM per-configured to boot embedded Linux rtsm.

I tried in ds-5 cmd, with no success.

When I tried in Telnet, I couldn't navigate further.



So, it will be very needful if you explain it elaborately step-by-step ..how to work with Arm streamline for windows machine under Linux RTSM.

From the cheatsheet, I am not able to understand clearly.

Please, help me out on this.




0

#3 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 205
  • Joined: 05-October 06

Posted 20 December 2011 - 09:22 AM

View Postmanju1438, on 19 December 2011 - 10:25 AM, said:

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?
0

#4 User is offline   scott 

  • Regular Contributor
  • PipPipPip
  • Group: Members.
  • Posts: 205
  • Joined: 05-October 06

Posted 20 December 2011 - 09:40 AM

View Postmanjunatha, on 20 December 2011 - 05:14 AM, said:

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.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic