PROCESS_MEMORY_COUNTERS是一個基於計算機語言的統計計數功能且記錄總數的功能函式。
基本介紹
- 中文名:PROCESS_MEMORY_COUNTERS
- 外文名:PROCESS_MEMORY_COUNTERS
- Function::Contains the memory
- Syntax::typedef struct
基本信息,Members,
基本信息
Function:Contains the memory statistics for a process.
Syntax:
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;
Requirements:
Minimum supported client: Windows XP.
Minimum supported server: Windows Server 2003.
Header:Psapi.h
Members
cb
Size of the structure, in bytes.
PageFaultCount
Number of page faults. // 缺頁中斷次數
PeakWorkingSetSize
Peak working set size, in bytes. // 使用記憶體高峰
WorkingSetSize
Current working set size, in bytes. // 當前使用的記憶體
QuotaPeakPagedPoolUsage
Peak paged pool usage, in bytes. // 使用頁面快取池高峰
QuotaPagedPoolUsage
Current paged pool usage, in bytes.// 使用頁面快取池
QuotaPeakNonPagedPoolUsage
Peak nonpaged pool usage, in bytes.// 使用非分頁快取池高峰
QuotaNonPagedPoolUsage
Current nonpaged pool usage, in bytes.// 使用非分頁快取池
PagefileUsage
Current space allocated for the pagefile, in bytes.Those pages may or may not be in memory.// 使用分頁檔案