code: func (s *systemInfo) CPUCores() (physical, logical int, err error) {
  	err = s.collectPlatformInfo()
  	if err != nil {
  		return 0, 0, err
  	}
  	return s.cpuPhysicalCores, s.cpuLogicalCores, nil
  }
docs: // CPUCores returns the number of (physical or logical) CPU cores