ProcessMetrics.MemoryCounters
A struct in Root.Township, the global namespace.
Mirror of the Windows PROCESS_MEMORY_COUNTERS struct, filled by GetProcessMemoryInfo. Sizes are in bytes.
- Listed in Global namespace: P
- Nested in
ProcessMetrics
Fields
| Member | What it is |
|---|---|
int cb | Size of the struct in bytes, as Windows expects. RAM passes the size as a separate argument and leaves this at 0. |
int PageFaultCount | Number of page faults the process has had. |
IntPtr PagefileUsage | Bytes of private memory committed for the process (pagefile usage). |
IntPtr PeakPagefileUsage | Highest PagefileUsage seen over the process's life. |
IntPtr PeakWorkingSetSize | Highest working set size seen over the process's life. |
IntPtr QuotaNonPagedPoolUsage | Current non-paged pool usage. |
IntPtr QuotaPagedPoolUsage | Current paged pool usage. |
IntPtr QuotaPeakNonPagedPoolUsage | Highest non-paged pool usage seen. |
IntPtr QuotaPeakPagedPoolUsage | Highest paged pool usage seen. |
IntPtr WorkingSetSize | Current working set (physical memory in use). This is what ProcessMetrics.RAM returns. |
Used in
Members of other types that take, return or hold a MemoryCounters: