Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Scheduler ¶
Scheduler is implementation used datastore.
func (*Scheduler) PopCorePair ¶
func (s *Scheduler) PopCorePair(ctx context.Context, hypervisorID int, numRequestCorePair int, pinningGroupID uuid.UUID) ([]ganymede.CorePair, error)
PopCorePair allocate pinning cpu core numRequestCorePair is number of requested CorePair. you can use 2 x numRequestCorePair of cpu cores. two is physical core and logical core.
Click to show internal directories.
Click to hide internal directories.