cpu

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCPUTemperature

func GetCPUTemperature() (string, error)

GetCPUTemperature retrieves the CPU temperature

Types

type CPUSpeed

type CPUSpeed struct {
	Avg int64
	Max int64
}

CPUSpeed struct to hold average and max clock speeds

func GetCPUClockSpeeds

func GetCPUClockSpeeds() (*CPUSpeed, error)

GetCPUClockSpeeds retrieves the average and maximum CPU clock speeds

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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