profiler
文章平均质量分 88
ElisonWu
这个作者很懒,什么都没留下…
展开
-
google-perftools+kcachegrind profiler your program
我之间用过一些开源的profiler工具,自己也做过一些工具,除了自己写的工具可以简单获取自己想要的那一部分数据之外,其他的工具都不那么容易,但是perftools却是个例外, 它是一款针对 C/C++ 程序的性能分析工具,它是一个遵守 BSD 协议的开源项目。使用该工具可以对 CPU 时间片、内存等系统资源的分配和使用进行分析,本文将重点介绍如何进行 CPU 时间片的剖原创 2012-11-01 16:15:17 · 1874 阅读 · 0 评论 -
gdb with multithread program
When your program has multiple threads (refer to Section 6.9 Debugging programs with multiple threads), you can choose whether to set breakpoints on all threads, or on a particular thread.转载 2013-03-18 15:03:33 · 1050 阅读 · 0 评论