该文被密码保护。 阅读全文
摘要:
【转至: http://goog-perftools.sourceforge.net/doc/cpu_profiler.html】This is the CPU profiler we use at Google. There are three parts to using it: linking the library into an application, running the code, and analyzing the output.Linking in the LibraryTo install the CPU profiler into your executable, a 阅读全文
摘要:
【转至: http://goog-perftools.sourceforge.net/doc/heap_profiler.html】Profiling heap usageThis document describes how to profile the heap usage of a C++ program. This facility can be useful forFiguring out what is in the program heap at any given timeLocating memory leaksFinding places that do a lot of 阅读全文