code: func calculatePcts(lastTimes cpu.TimesStat, curTimes cpu.TimesStat) cpu.TimesStat {
  	totalDelta := curTimes.Total() - lastTimes.Total()
  	return cpu.TimesStat{
  		User:      formatPct(curTimes.User-lastTimes.User, totalDelta),
  		System:    formatPct(curTimes.System-lastTimes.System, totalDelta),
  		Idle:      formatPct(curTimes.Idle-lastTimes.Idle, totalDelta),
  		Nice:      formatPct(curTimes.Nice-lastTimes.Nice, totalDelta),
  		Iowait:    formatPct(curTimes.Iowait-lastTimes.Iowait, totalDelta),
  		Irq:       formatPct(curTimes.Irq-lastTimes.Irq, totalDelta),
  		Softirq:   formatPct(curTimes.Softirq-lastTimes.Softirq, totalDelta),
  		Steal:     formatPct(curTimes.Steal-lastTimes.Steal, totalDelta),
  		Guest:     formatPct(curTimes.Guest-lastTimes.Guest, totalDelta),
  		GuestNice: formatPct(curTimes.GuestNice-lastTimes.GuestNice, totalDelta),
  		Stolen:    formatPct(curTimes.Stolen-lastTimes.Stolen, totalDelta),
  	}
  }
docs: // calculatePct returns the percent utilization for CPU states. 100.00 => 100.00%