Wiki > Main > SourceProfiling (compare)
Difference: SourceProfiling (r2 vs. r1)
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 other targets is non-trivial, but shouldn't be too difficult
r4 - 04 Oct 2012 - 06:49:40 - AndreeBuschmannRevision r2 - 27 Mar 2006 - 13:27 - BrandonLow
Revision r1 - 27 Mar 2006 - 04:24 - BernardKethlayne
Copyright © by the contributing authors.