Google Performance Tools(探查器)教程

sta*_*tor 7 c++ profiler sample google-perftools

我刚下载并构建了Google Performance Tools的库/可执行文件.在我想要调查的应用程序上运行CPU分析器之前,我想学习如何在示例应用程序上正确使用这些工具.运行Google CPU Profiler的好例子是什么?提前致谢.

Tim*_*ter 2

以下段落出现在随 perftools 1.3 分发的 README.windows 文件中:

堆分析器已初步移植到 Windows。它尚未经过充分测试,并且在启用帧指针优化 (FPO) 时(即在发布模式下)可能根本无法工作。perftools 的其他功能,例如 cpu-profiler 和泄漏检查器,尚未移植到 Windows。