Menu

Profile Analysis: _mcount = 50% ?

2002-07-24
2012-09-26
  • Jonathan Wooldridge

    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!

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.