Just As I know ,Arm Cortex a8 dont have the tsc register as x86 Almost hrtimer in arm and other soc will use a PIT as source .
If you want to measure the code cost time. use gpio and graphic oscilloscope 2014-02-24 22:26 GMT+08:00 Paddu <pradeep.mudig...@gmail.com>: > Hi, > > We need some advice in measuring Beaglebone CPU(Cortex-A8) clock cycles. > Is there any way to measure the CPU cycles and use it inside the program? > I have heard about "ccnt" register but don't know how exactly could we use > that in the program. > Please let me know if there is a reference or pointers on how to implement > the code. > > Regards. > paddu > > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to the Google Groups > "BeagleBoard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to beagleboard+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out. > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.