code: func (topo *CPUTopology) CPUsPerSocket() int {
  	if topo.NumSockets == 0 {
  		return 0
  	}
  	return topo.NumCPUs / topo.NumSockets
  }
docs: // CPUsPerSocket returns the number of logical CPUs are associated with
  // each socket.