Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

CPU Cycle counts on PXA255

junaidfcs
Beginner
116 Views

Hi,

I want to count the CPU cycles consumed by my C program when run on crossbow stargare sensor (that have intergrated Intel PXA 255 400MHZ processor). How can I do this? I guess there must be some C program with functions startCounting and endCounting. My scenio should be like this.

starCounting()

My program or code....

endCounting()

Print cyclecounts;

Can any one guid me how can I write or get this startCounting and endCounting. I guess there must be some programs already there that have this functionality.

0 Kudos
1 Reply
junaidfcs
Beginner
116 Views
One thing I forgot to add to this is that the operating system that is installed on Stargate isan embedded version of linux.
Reply