What is _mcount and mcount? I just did a test on a new function I'm writing. Main calls the function a bunch of times, and then I profiled it.
My function takes only a small fraction (1.04%) of the total execution time now, so I'm happy with it.
But the top offender is something called _mcount. What's that? I didn't write it! The program spends 1.45 SECONDS in that thing!
See http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html for docs on how to use the profiler.
Thanks, Terra :) -AngleWyrm
Log in to post a comment.
What is _mcount and mcount? I just did a test on a new function I'm writing. Main calls the function a bunch of times, and then I profiled it.
My function takes only a small fraction (1.04%) of the total execution time now, so I'm happy with it.
But the top offender is something called _mcount. What's that? I didn't write it! The program spends 1.45 SECONDS in that thing!
See http://www.cs.utah.edu/dept/old/texinfo/as/gprof_toc.html
for docs on how to use the profiler.
Thanks, Terra :)
-AngleWyrm