PROCESS_MEMORY_COUNTERS_EX structure
Applies to: desktop apps only
Contains extended memory statistics for a process.
Syntax
typedef struct _PROCESS_MEMORY_COUNTERS_EX {
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;
SIZE_T PrivateUsage;
} PROCESS_MEMORY_COUNTERS_EX, *PPROCESS_MEMORY_COUNTERS_EX;
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 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 Commit Charge value in bytes for this process. Commit Charge is the total amount of memory that the memory manager has committed for a running process.
Windows 7 and Windows Server 2008 R2 and earlier: PagefileUsage is always zero. Check PrivateUsage instead. - PeakPagefileUsage
-
The peak value in bytes of the Commit Charge during the lifetime of this process.
- PrivateUsage
-
Same as PagefileUsage. The Commit Charge value in bytes for this process. Commit Charge is the total amount of memory that the memory manager has committed for a running process.
Requirements
|
Minimum supported client | Windows Vista, Windows XP with SP2 |
|---|---|
|
Minimum supported server | Windows Server 2008, Windows Server 2003 with SP1 |
|
Header |
|
See also
- GetProcessMemoryInfo
- Memory Performance Information
- Process Memory Usage Information
- Working Set Information
Send comments about this topic to Microsoft
Build date: 2/7/2012
>> Open "Perfmon" from "Run" dialog to monitor CPU usage on CPU.
>> Declare log information by specifing the log file type and duration.
>> Log is useful to study about the system performance.
- 5/19/2008
- Baskar S