读书人

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

发布时间: 2013-07-04 11:45:51 作者: rapoo

怎么获取某个进程的内存占用量?
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.

读书人网 >C++

热点推荐