cpuinfo

package
v0.31.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CPUSet added in v0.31.0

type CPUSet []InclusiveRange

func OnlineCPUs added in v0.31.0

func OnlineCPUs() (CPUSet, error)

func (CPUSet) Num added in v0.31.0

func (s CPUSet) Num() uint64

type InclusiveRange added in v0.31.0

type InclusiveRange struct {
	First uint64
	Last  uint64
}

Jump to

Keyboard shortcuts

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