Community
cancel
Showing results for 
Search instead for 
Did you mean: 
junaidfcs
Beginner
56 Views

CPU Cycle counts on PXA255

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
56 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