typedef struct _PROCESS_MEMORY_COUNTERS { DWORD cb; DWORD PageFaultCount; SIZE_T PeakWorkingSetSize; //峰值内存使用 SIZE_T WorkingSetSize; //内存使用 SIZE_T QuotaPeakPagedPoolUsage; SIZE_T QuotaPagedPoolUsage; SIZE_T QuotaPeakNonPagedPoolUsage; SIZE_T QuotaNonPagedPoolUsage; SIZE_T PagefileUsage; //虚拟内存使用 SIZE_T PeakPagefileUsage; //峰值虚拟内存使用 } PROCESS_MEMORY_COUNTERS, *PPROCESS_MEMORY_COUNTERS;
以下摘自MSDN
Members 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 po