Versions in this module Expand all Collapse all v1 v1.1.2 Feb 25, 2019 v1.1.0 Sep 4, 2018 Changes in this version + func GetCoresInfo(ci *CpuInfo) + func GetGlobalInfo(ci *CpuInfo) + func GetModelName(ci *CpuInfo) + type Context struct + Procfs string + var Ctx Context + type Core struct + Guest int + GuestNice int + Idle int + Iowait int + Irq int + Name string + Nice int + Softirq int + Steal int + System int + User int + type CpuInfo struct + Arch string + ByteOrder string + CoreNum int + CorePerSocket int + Cores []Core + CpuFamily string + CpuOpMode string + Freq string + HypervisorVendor string + L1dCache string + L1iCache string + L2Cache string + L3Cache string + ModelName string + NumaNodeNum int + NumaNodes []NumaNode + OnlineCore string + Socket int + ThreadPerCore int + VendorId string + Virtualization string + func GetCpuInfo() CpuInfo + type NumaNode struct + Cpus string + Name string