tmutils

package
v0.0.17 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 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