mirror of https://github.com/shirou/gopsutil
[process]windows: implement process.MemoryInfo (but no swap)
parent
cf454998dc
commit
903277ce2f
@ -0,0 +1,16 @@
|
|||||||
|
// +build windows
|
||||||
|
|
||||||
|
package process
|
||||||
|
|
||||||
|
type PROCESS_MEMORY_COUNTERS struct {
|
||||||
|
CB uint32
|
||||||
|
PageFaultCount uint32
|
||||||
|
PeakWorkingSetSize uint32
|
||||||
|
WorkingSetSize uint32
|
||||||
|
QuotaPeakPagedPoolUsage uint32
|
||||||
|
QuotaPagedPoolUsage uint32
|
||||||
|
QuotaPeakNonPagedPoolUsage uint32
|
||||||
|
QuotaNonPagedPoolUsage uint32
|
||||||
|
PagefileUsage uint32
|
||||||
|
PeakPagefileUsage uint32
|
||||||
|
}
|
@ -0,0 +1,16 @@
|
|||||||
|
// +build windows
|
||||||
|
|
||||||
|
package process
|
||||||
|
|
||||||
|
type PROCESS_MEMORY_COUNTERS struct {
|
||||||
|
CB uint32
|
||||||
|
PageFaultCount uint32
|
||||||
|
PeakWorkingSetSize uint64
|
||||||
|
WorkingSetSize uint64
|
||||||
|
QuotaPeakPagedPoolUsage uint64
|
||||||
|
QuotaPagedPoolUsage uint64
|
||||||
|
QuotaPeakNonPagedPoolUsage uint64
|
||||||
|
QuotaNonPagedPoolUsage uint64
|
||||||
|
PagefileUsage uint64
|
||||||
|
PeakPagefileUsage uint64
|
||||||
|
}
|
Loading…
Reference in New Issue