Welcome! Log In Create A New Profile


Code Profiler

Posted by Titmouse 
Code Profiler
May 05, 2011 12:22PM
Hi all,
I've tried adding '-pg' to my makefile to generate profile information but I'm getting linking errors (undefined reference to `_mcount')
Anyone know if the GCC development stuff for the Wii supports this feature?
Profiling a simple example 'template' also give the same link error.

Currently I'm using a high resolution timer and some home rolled code based on 'LibProile' by nuke - so it requires extra code to be inserted around the thing to be timed which is not ideal for me.

If the profiler opt does not work - does anyone know of a simpliled process - maybe something to insert profile code at compile time that would just require profiler code to exist in one place?
Sorry, only registered users may post in this forum.

Click here to login