cosmopolitan/libc/nt/struct/processmemorycounters.h
Justine Tunney fa20edc44d
Reduce header complexity
- Remove most __ASSEMBLER__ __LINKER__ ifdefs
- Rename libc/intrin/bits.h to libc/serialize.h
- Block pthread cancelation in fchmodat() polyfill
- Remove `clang-format off` statements in third_party
2023-11-28 14:39:42 -08:00

20 lines
611 B
C

#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_
#define COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_
COSMOPOLITAN_C_START_
struct NtProcessMemoryCountersEx {
uint32_t cb; /* count bytes */
uint32_t PageFaultCount;
uint64_t PeakWorkingSetSize;
uint64_t WorkingSetSize;
uint64_t QuotaPeakPagedPoolUsage;
uint64_t QuotaPagedPoolUsage;
uint64_t QuotaPeakNonPagedPoolUsage;
uint64_t QuotaNonPagedPoolUsage;
uint64_t PagefileUsage;
uint64_t PeakPagefileUsage;
uint64_t PrivateUsage;
};
COSMOPOLITAN_C_END_
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_ */