stats

package
v0.0.0-...-ae3a0a2 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CPUMHzPerCore

func CPUMHzPerCore() float64

CPUMHzPerCore returns the MHz per CPU core

func CPUModelName

func CPUModelName() string

CPUModelName returns the model name of the CPU

func CPUNumCores

func CPUNumCores() int

CPUNumCores returns the number of CPU cores available

func Init

func Init() error

func RuntimeStats

func RuntimeStats() map[string]string

RuntimeStats is used to return various runtime information

func TotalTicksAvailable

func TotalTicksAvailable() float64

TotalTicksAvailable calculates the total Mhz available across all cores

Types

This section is empty.

Jump to

Keyboard shortcuts

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