tmutils

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: Apache-2.0 Imports: 4 Imported by: 1

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 added in v0.0.11

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