Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CPUAllocated ¶
CPUAllocated is used to track an individual allocation of CPU resources that will be returned at a later time
func AllocCPU ¶
AllocCPU is used by callers to attempt to allocate a CPU resource from the system, CPU affinity is not implemented and so this is soft accounting
live can be used to test the capacity is sufficient for the request without making the request itself
func (*CPUAllocated) Release ¶
func (cpuAlloc *CPUAllocated) Release()
Release is used to return a soft allocation to the system accounting
Click to show internal directories.
Click to hide internal directories.