tmutils

package
v0.0.15 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseGOHints

func ParseGOHints(rawHints []string) (map[string][]topologymanager.TopologyHint, error)

cpu:[{01 true} {10 true} {11 false}]

func ParseJSONHints

func ParseJSONHints(rawHints []string) (map[string][]topologymanager.TopologyHint, error)

Types

type Hint

type Hint struct {
	Mask      string `json:"M"`
	Preferred bool   `json:"P"`
}

func ParseGOProviderHints

func ParseGOProviderHints(rawHints string) []Hint

func (Hint) ToTM

func (ht Hint) ToTM() topologymanager.TopologyHint

type ResHints

type ResHints struct {
	Resource string `json:"R"`
	Hints    []Hint `json:"H"`
}

Jump to

Keyboard shortcuts

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