Profiling arm/nds program
Posted: Tue Jul 31, 2012 4:26 pm
Hello,
I wanted to do some profiling on my homebrew, to be able to speed it up a bit.
But when i used -pg command in my makefile, it seemed profiling wasnt implemented in devkitpro. (undefined reference to __gnu_mcount_nc)
I searched the net and bumped into this : http://doc.ironwoodlabs.com/arm-arm-non ... count.html
Would it be possible to implement profiling in devkitarm for the nds? (at least for the arm9)
Or could someone code an implementation for me? I only want for arm9 as my program uses default arm7 core.
I would have done it by myself if I knew how to code in ASM.
Thanks in advance.
I wanted to do some profiling on my homebrew, to be able to speed it up a bit.
But when i used -pg command in my makefile, it seemed profiling wasnt implemented in devkitpro. (undefined reference to __gnu_mcount_nc)
I searched the net and bumped into this : http://doc.ironwoodlabs.com/arm-arm-non ... count.html
Would it be possible to implement profiling in devkitarm for the nds? (at least for the arm9)
Or could someone code an implementation for me? I only want for arm9 as my program uses default arm7 core.
I would have done it by myself if I knew how to code in ASM.
Thanks in advance.