It would be nice if there were a way to profile code in IWRAM and
on the cart at the same time. If you pass values to monstartup
that include both sections of memory, gprof gets overloaded and
doesn't return much useful information. I don't know if it would be
possible to have the profiling monitor two discontinuous sections of
memory, or if it would be possible to have VBA recognize a special
rom image that has the IWRAM relocated to something like
0x7ff8000 - 0x7ffffff, or if there's another way to make it work.
Logged In: YES
user_id=518853
The first suggested approach (monitoring two discontinuous sections of
memory) is implemented in path 1044856.
Logged In: YES
user_id=1355343
patch 1044856