Re: CPU Cycles Consumed by C program on PXA255 | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
Junaid Jamil wrote: > I have run my C program on a board which have Intel PXA255 ARM > processor. Now I want to know how much CPU cycles it consumed during > its execution. I have calculated the CPU cycle counts on x86 using > RDTSC instruction. Can any one please guid me how can I do the same on > ARM with RDTSC level precision? The PXA255 happens to have similar ARM extensions, implemented in coprocessor 14. CONFIG_OPROFILE seems to enable support for them (see op_model_xscale.c). Or you can access them directly with a few assembly instructions; see chapter 8, "Performance monitoring", in the PXA255 User's Manual. Pascal ------------------------------------------------------------------- List admin: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm FAQ: http://www.arm.linux.org.uk/mailinglists/faq.php Etiquette: http://www.arm.linux.org.uk/mailinglists/etiquette.php
[Site Home] [Linux ARM Kernel] [Fedora ARM] [IETF Annouce] [Security] [Bugtraq] [Linux] [Linux OMAP] [Linux MIPS] [ECOS] [Tools] [DDR & Rambus] [Monitors]