package cpugroup
import "github.com/Microsoft/hcsshim/internal/cpugroup"
Index ¶
- Constants
- Variables
- func Create(ctx context.Context, id string, logicalProcessors []uint32) error
- func Delete(ctx context.Context, id string) error
- func GetCPUGroupConfig(ctx context.Context, id string) (*hcsschema.CpuGroupConfig, error)
Constants ¶
const NullGroupID = "00000000-0000-0000-0000-000000000000"
Variables ¶
var ErrHVStatusInvalidCPUGroupState = errors.New("The hypervisor could not perform the operation because the CPU group is entering or in an invalid state.")
ErrHVStatusInvalidCPUGroupState corresponds to the internal error code for HV_STATUS_INVALID_CPU_GROUP_STATE
Functions ¶
func Create ¶
Create creates a new cpugroup on the host with a prespecified id
func Delete ¶
Delete deletes the cpugroup from the host
func GetCPUGroupConfig ¶
GetCPUGroupConfig finds the cpugroup config information for group with `id`
Source Files ¶
- Version
- v0.13.0 (latest)
- Published
- Apr 21, 2025
- Platform
- windows/amd64
- Imports
- 7 packages
- Last checked
- 8 hours ago –
Tools for package owners.