code: func getUniqueCoreID(threads []int) (coreID int, err error) {
  	if len(threads) == 0 {
  		return 0, fmt.Errorf("no cpus provided")
  	}
  
  	if len(threads) != cpuset.NewCPUSet(threads...).Size() {
  		return 0, fmt.Errorf("cpus provided are not unique")
  	}
  
  	min := threads[0]
  	for _, thread := range threads[1:] {
  		if thread < min {
  			min = thread
  		}
  	}
  
  	return min, nil
  }
docs: // getUniqueCoreID computes coreId as the lowest cpuID
  // for a given Threads []int slice. This will assure that coreID's are
  // platform unique (opposite to what cAdvisor reports - socket unique)