topology

package
v0.12.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 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 Hint

type Hint struct {
	// contains filtered or unexported fields
}

func NewHint

func NewHint(sys sysfs.System, h TopologyHint) *Hint

func (*Hint) CPUSetForCPUs

func (h *Hint) CPUSetForCPUs() cpuset.CPUSet

func (*Hint) CPUSetForNUMAs

func (h *Hint) CPUSetForNUMAs() cpuset.CPUSet

func (*Hint) MemsForCPUs

func (h *Hint) MemsForCPUs() libmem.NodeMask

func (*Hint) MemsForNUMAs

func (h *Hint) MemsForNUMAs() libmem.NodeMask

func (*Hint) MisalignedCPUSet

func (h *Hint) MisalignedCPUSet(cpus cpuset.CPUSet) cpuset.CPUSet

func (*Hint) MisalignedMems

func (h *Hint) MisalignedMems(mems libmem.NodeMask) libmem.NodeMask

type TopologyHint

type TopologyHint = topology.Hint

Jump to

Keyboard shortcuts

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