代码块的内存使用情况 [英] Memory usage of the code block
本文介绍了代码块的内存使用情况的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何衡量代码块的内存使用情况。
我尝试过:
有很多付费探查器可用,但我想手动完成。把建议任何参考例
How to measure the memory usage of the code block.
What I have tried:
There are many paid profiler available but i want to do it manually. put suggest any reference example
推荐答案
你可以使用内存 PerformanceCounter
,这里有一篇关于CodeProject的文章:简单的性能计数器应用程序 [ ^ ]
You could use a memory PerformanceCounter
, here is an article on CodeProject about it: A Simple Performance Counter Application[^]
这篇关于代码块的内存使用情况的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文