Versions in this module Expand all Collapse all v0 v0.8.1 Sep 16, 2021 Changes in this version + type Info struct + Processors []*Processor + TotalCores uint32 + TotalThreads uint32 + func New(opts ...*option.Option) (*Info, error) + func (i *Info) JSONString(indent bool) string + func (i *Info) String() string + func (i *Info) YAMLString() string + type Processor struct + Capabilities []string + Cores []*ProcessorCore + ID int + Model string + NumCores uint32 + NumThreads uint32 + Vendor string + func (p *Processor) HasCapability(find string) bool + func (p *Processor) String() string + type ProcessorCore struct + ID int + Index int + LogicalProcessors []int + NumThreads uint32 + func CoresForNode(ctx *context.Context, nodeID int) ([]*ProcessorCore, error) + func (c *ProcessorCore) String() string