code: func (d CPUDetails) CPUsInSocket(id int) cpuset.CPUSet {
  	b := cpuset.NewBuilder()
  	for cpu, info := range d {
  		if info.SocketID == id {
  			b.Add(cpu)
  		}
  	}
  	return b.Result()
  }
docs: // CPUsInSocket returns all of the logical CPU IDs associated with the
  // given socket ID in this CPUDetails.