Windows上的C程序中的堆栈使用情况测量 [英] Stack usage measurement in a C program on windows

查看:81
本文介绍了Windows上的C程序中的堆栈使用情况测量的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用一些工具来了解我的C应用程序的堆栈使用情况.

我尝试在网上进行一些探索,但无法获得任何有用的工具.诸如 vmmap Process Monitor 之类的工具确实为我提供了堆栈计数,但是我怀疑它是否可靠.

请建议使用任何工具或方法来计算堆栈使用量.

I want to know stack usage of my C application using some tool.

I tried exploring some on net, but couldn''t get any useful tool. Couple of tools like vmmap, Process Monitor do give me stack count, but I am skeptical if it is reliable.

Please suggest any tool or means to calculate stack usage.

推荐答案

请查看以下内容:
Please have a look at this: XPerf[^]. This tool also includes a viewer (XperfViewer). The tool works on XP & Windows 2003 Server but doesn''t have the capability to trace stack usage on those OSs. From Vista/Windows2008 on upwards stack usage can also be traced.

Best Regards,


这篇关于Windows上的C程序中的堆栈使用情况测量的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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