Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PerformanceInformation ¶
type PerformanceInformation struct { CommitTotal uint CommitLimit uint CommitPeak uint PhysicalTotal uint PhysicalAvailable uint SystemCache uint KernelTotal uint KernelPaged uint KernelNonpaged uint PageSize uint HandleCount uint32 ProcessCount uint32 ThreadCount uint32 // contains filtered or unexported fields }
PerformanceInformation is a wrapper of the PERFORMANCE_INFORMATION struct. https://docs.microsoft.com/en-us/windows/win32/api/psapi/ns-psapi-performance_information
func GetPerformanceInfo ¶
func GetPerformanceInfo() (PerformanceInformation, error)
GetPerformanceInfo returns the dereferenced version of GetLPPerformanceInfo.
Click to show internal directories.
Click to hide internal directories.