mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
c23b6ecc31
You can now use psapi.dll and pdh.dll. Some TODOs for Windows have been cleared out. We might have a working load average for the platform that should help GNU Make work well.
22 lines
696 B
C
22 lines
696 B
C
#ifndef COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_
|
|
#define COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
|
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 /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
#endif /* COSMOPOLITAN_LIBC_NT_STRUCT_PROCESSMEMORYCOUNTERS_H_ */
|