Source file src/internal/syscall/windows/psapi_windows.go

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package windows
     6  
     7  type PROCESS_MEMORY_COUNTERS struct {
     8  	CB                         uint32
     9  	PageFaultCount             uint32
    10  	PeakWorkingSetSize         uintptr
    11  	WorkingSetSize             uintptr
    12  	QuotaPeakPagedPoolUsage    uintptr
    13  	QuotaPagedPoolUsage        uintptr
    14  	QuotaPeakNonPagedPoolUsage uintptr
    15  	QuotaNonPagedPoolUsage     uintptr
    16  	PagefileUsage              uintptr
    17  	PeakPagefileUsage          uintptr
    18  }
    19  
    20  //sys	GetProcessMemoryInfo(handle syscall.Handle, memCounters *PROCESS_MEMORY_COUNTERS, cb uint32) (err error) = psapi.GetProcessMemoryInfo
    21  

View as plain text