Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Area ¶ added in v0.9.0
type Area struct { TotalPhysicalBytes int64 `json:"total_physical_bytes"` TotalUsableBytes int64 `json:"total_usable_bytes"` // An array of sizes, in bytes, of memory pages supported in this area SupportedPageSizes []uint64 `json:"supported_page_sizes"` Modules []*Module `json:"modules"` }
func AreaForNode ¶ added in v0.9.0
type Cache ¶
type CacheType ¶
type CacheType int
func (CacheType) MarshalJSON ¶
NOTE(jaypipes): since serialized output is as "official" as we're going to get, let's lowercase the string output when serializing, in order to "normalize" the expected serialized output
func (*CacheType) UnmarshalJSON ¶ added in v0.9.0
type Info ¶
type Info struct { Area // contains filtered or unexported fields }
func (*Info) JSONString ¶
JSONString returns a string with the memory information formatted as JSON under a top-level "memory:" key
func (*Info) YAMLString ¶
YAMLString returns a string with the memory information formatted as YAML under a top-level "memory:" key
type SortByCacheLevelTypeFirstProcessor ¶
type SortByCacheLevelTypeFirstProcessor []*Cache
func (SortByCacheLevelTypeFirstProcessor) Len ¶
func (a SortByCacheLevelTypeFirstProcessor) Len() int
func (SortByCacheLevelTypeFirstProcessor) Less ¶
func (a SortByCacheLevelTypeFirstProcessor) Less(i, j int) bool
func (SortByCacheLevelTypeFirstProcessor) Swap ¶
func (a SortByCacheLevelTypeFirstProcessor) Swap(i, j int)
type SortByLogicalProcessorId ¶
type SortByLogicalProcessorId []uint32
func (SortByLogicalProcessorId) Len ¶
func (a SortByLogicalProcessorId) Len() int
func (SortByLogicalProcessorId) Less ¶
func (a SortByLogicalProcessorId) Less(i, j int) bool
func (SortByLogicalProcessorId) Swap ¶
func (a SortByLogicalProcessorId) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.