分析C或C ++基础的应用,永远不会退出 [英] Profiling a C or C++ based application that never exits

查看:136
本文介绍了分析C或C ++基础的应用,永远不会退出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个关于它永远不会退出,直到我们手动重新启动计算机应用剖析一个小疑问。

I have a small doubt regarding profiling applications which never exit until we manually reboot the machine.

我喜欢用它Valgrind的谈论内存泄漏或退出后的某个时间的任何应用程序的工具,腹胀。

I used tools like valgrind which talks about memory leaks or bloating of any application which exits after sometime.

但有可用于讲述内存消耗,腹胀任何工具,开销由应用在不同阶段,如果可能创建

But is there any tool which can be used to tell about memory consumption, bloating, overhead created by the application at various stages if possible?

注意:我更intrested知道哪个不退出应用程序......如果一个应用程序退出,我可以使用的工具,如Valgrind的..

NOTE: I am more intrested to know about apps which dont exit ... If an app exits I can use tools like valgrind ..

推荐答案

我会考虑从程序添加一个体面退出。

I'd consider adding a graceful exit from the program.

这篇关于分析C或C ++基础的应用,永远不会退出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆