Wiki > Main > SourceProfiling (compare)
Difference: SourceProfiling (r3 vs. r2)
Rockbox contains a profiling system which can be used to monitor call count and time in function for a specific set of functions on a single thread. This can be used to optimize frequently-called functions or code blocks.
To use this functionality:
There is also a profile_comparator.pl script which can compare two profile runs as output by the above script to show percent change from optimization
profile_reader.pl requires a recent binutils that can automatically handle target object files, or objdump in path to be the target-objdump.
profile_reader.pl currently only works on m68k targets. adapting it to ARM and Coldfire, and may work on other targets targets. is non-trivial, but shouldn't be too difficult
r4 - 04 Oct 2012 - 06:49:40 - AndreeBuschmannRevision r3 - 28 Jul 2008 - 22:47 - MichaelGiacomelli
Revision r2 - 27 Mar 2006 - 13:27 - BrandonLow
Copyright © by the contributing authors.