psapi

package
v0.29.0-rc.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2024 License: MIT Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL