Hi, does anyone know a way to compare execution times of programs in the GDB ARM simulator? Is there something like a cycle counter that I can access from GDB or from the simulated code? Andreas
I found a solution here, about 5 minutes after I had finished writing my own: http://www.cygwin.com/ml/insight/2003-q1/msg00081.html My patch: http://www.mikrocontroller.net/attachment.php/371627/gdb-armulator-cycles.patch Example: (gdb) sim cycles S: 636 N: 420 I: 75 C: 0 F: 0 total: 1131