Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

CPU Cycle counts on PXA255

junaidfcs
Beginner
594 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
594 Views
One thing I forgot to add to this is that the operating system that is installed on Stargate isan embedded version of linux.
0 Kudos
Reply