kubeletcheckpoint

package
v0.0.0-...-fe9d0f6 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoresAllocation

type CoresAllocation map[int]int

CoresAllocation tracks the number of allocated core per NUMA node. It is a map whose keys are NUMA node ids and whose values are the number of allocated cores.

type Reader

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

func NewReader

func NewReader(stateDir string) (*Reader, error)

func (*Reader) GetCoresAllocation

func (r *Reader) GetCoresAllocation(tp sysfs.Topology) (CoresAllocation, error)

func (*Reader) SetCPUManagerStateFile

func (r *Reader) SetCPUManagerStateFile(stateFile string) *Reader

Jump to

Keyboard shortcuts

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