Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SocketMask ¶
type SocketMask interface { Add(sockets ...int) error Remove(sockets ...int) error And(masks ...SocketMask) Or(masks ...SocketMask) Clear() Fill() IsEqual(mask SocketMask) bool IsEmpty() bool IsSet(socket int) bool IsNarrowerThan(mask SocketMask) bool String() string Count() int GetSockets() []int }
SocketMask interface allows hint providers to create SocketMasks for TopologyHints
func NewSocketMask ¶
func NewSocketMask(sockets ...int) (SocketMask, error)
NewSocketMask creates a new SocketMask
Click to show internal directories.
Click to hide internal directories.