[英]Which C++ Profiler to use?
I am supporting a C/Cpp application and have resolved few memory leak issues by creating objects. 我支持C / Cpp应用程序,并通过创建对象解决了一些内存泄漏问题。 Since it is provided by the third party API, it is told that the objects gets destructed by the API itself. 由于它是由第三方API提供的,因此告知API本身会破坏对象。
I could manage to fix the issue and test my application without any issue. 我可以设法修复问题并测试我的应用程序没有任何问题。 But i still doubt my fix for memory leak. 但我仍然怀疑我的内存泄漏问题。 I want to do profiling and i am in need of a Cpp tool that can tell me if there are chances of memory leaks in the code given a CPP file. 我想进行性能分析,我需要一个Cpp工具,可以告诉我在给定CPP文件的代码中是否存在内存泄漏的可能性。
Is there a tool of that sort? 有那种工具吗? Any help is greatly appreciated. 任何帮助是极大的赞赏。
Thanks, ~Jegan 谢谢,~Jegan
We're using MemoryValidator from http://www.softwareverify.com/ . 我们正在使用来自http://www.softwareverify.com/的 MemoryValidator。 It provides a fully functional 30 day trial, so you can test it before buying. 它提供了一个功能齐全的30天试用版,因此您可以在购买前进行测试。 Single license from 179$ (each for 10 licenses), up to 299$ (1 license). 单个许可证从179美元(每个10个许可证),最多299美元(1个许可证)。 And it is really worth it's price. 它真的值得它的价格。 Enables you to find the cause for leaks within a minute. 使您能够在一分钟内找到泄漏的原因。
Also check the other tools they're providing: performance validator, bug validator and so on. 还要检查他们提供的其他工具:性能验证器,错误验证器等。
Great tool once you know how to handle it :-) 一旦你知道如何处理它的伟大工具:-)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.