Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.compilers    |    Compiler construction, theory, etc. (Mod    |    2,753 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 982 of 2,753    |
|    Russ Cox to All    |
|    Re: C++ runtime profiling    |
|    25 Jun 07 12:47:32    |
      From: rsc@swtch.com              > I wonder if there are other good open-source runtime profilers for C++       > What other tools are out there?              If you're doing a lot of system calls and have a lot of       processes interacting, use oprofile, as mentioned.              For standalone programs, try the Google perftools       profiler [1]. It does statistical sampling at run-time,       and produces very nice summary images showing       not only what the hot spots are but the stack traces       that led to them. It can also list your source code       with annotations showing which lines or assembly       instructions were the hot spots.              And the same interface works for profiling memory       allocation.              Russ              [1] http://code.google.com/p/google-perftools/wiki/GooglePerformanceTools              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca