该文被密码保护。 阅读全文
posted @ 2012-05-28 15:20 Lippman 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 【转至: 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 阅读全文
posted @ 2012-05-28 15:19 Lippman 阅读(639) 评论(0) 推荐(0) 编辑
摘要: 【转至: 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 阅读全文
posted @ 2012-05-28 15:18 Lippman 阅读(1133) 评论(0) 推荐(0) 编辑