scheduler

package
v0.0.0-...-f1b23c0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoValidCoreFound = fmt.Errorf("no valid core found")
	ErrInvalidCorePair  = fmt.Errorf("invalid core pair")
)

Error values for scheduler

Functions

This section is empty.

Types

type Scheduler

type Scheduler interface {
	PopCorePair(ctx context.Context, hypervisorID int, numRequestCorePair int, pinningGroupID uuid.UUID) ([]ganymede.CorePair, error)
	PushCorePair(ctx context.Context, pinningGroupID uuid.UUID) error
}

Scheduler is manager of cpu cores.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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