首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > C++ >

如何获取某个进程的内存占用量

2013-07-04 
怎么获取某个进程的内存占用量?XP WIN7环境。如题[解决办法]GetProcessMemoryInfo[解决办法]cb The size of

怎么获取某个进程的内存占用量?
XP WIN7环境。
如题
[解决办法]
GetProcessMemoryInfo
[解决办法]

cb 
The size of the structure, in bytes.

PageFaultCount 
The number of page faults.

PeakWorkingSetSize 
The peak working set size, in bytes.

WorkingSetSize 
The current working set size, in bytes.

QuotaPeakPagedPoolUsage 
The peak paged pool usage, in bytes.

QuotaPagedPoolUsage 
The current paged pool usage, in bytes.

QuotaPeakNonPagedPoolUsage 
The peak nonpaged pool usage, in bytes.

QuotaNonPagedPoolUsage 
The current nonpaged pool usage, in bytes.

PagefileUsage 
The current space allocated for the pagefile, in bytes. Those pages may or may not be in memory.

PeakPagefileUsage 
The peak space allocated for the pagefile, in bytes.

热点排行