I haven't seen anything like this for BMax, but it is a handy thing. Generally called "code instrumentation" profiling. Most packages like this provide a program that automatically adds or removes those calls to every function in a program.
A good profiler would be very handy for BMax.
A good profiler would be very handy for BMax.