slaanesh
Certified Guru
I was having a look through notaz's instructions on profiling gcc generated executables for the GP2X.
Doing this seems to provide a nice speed up for some types of code.
Is it possible to do this on the GP32?
Two possibilities:
1). Run the -fprofile-generate executable directly on the GP32. Will this actually work? notaz stated that the compiled path must match the executable path on the GP32 as this is used to create the associated *.gcda files. I'm not sure if this is possible given the GP32's unique file system structure?
2). Compile the -fprofile-generate executable to run on another machine. ie. If you a profiling a GP32 port which is virtually identical to the GP2X version, run the -fprofile-generate executable on the GP2X and transfer the relevant *.gcda files back to the GP32 compile directory. Is this feasible?
Any other ideas?
Doing this seems to provide a nice speed up for some types of code.
Is it possible to do this on the GP32?
Two possibilities:
1). Run the -fprofile-generate executable directly on the GP32. Will this actually work? notaz stated that the compiled path must match the executable path on the GP32 as this is used to create the associated *.gcda files. I'm not sure if this is possible given the GP32's unique file system structure?
2). Compile the -fprofile-generate executable to run on another machine. ie. If you a profiling a GP32 port which is virtually identical to the GP2X version, run the -fprofile-generate executable on the GP2X and transfer the relevant *.gcda files back to the GP32 compile directory. Is this feasible?
Any other ideas?