stats

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 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

CPUModelName returns the number of CPU cores available

func Init

func Init() error

func RuntimeStats added in v0.8.0

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