// AddSCPU adds other to dst field by field. func AddSCPU(dst *sigar.Cpu, other sigar.Cpu) { dst.User += other.User dst.Nice += other.Nice dst.Sys += other.Sys dst.Idle += other.Idle dst.Wait += other.Wait dst.Irq += other.Irq dst.SoftIrq += other.SoftIrq dst.Stolen += other.Stolen }