perf_other.go 322 B

12345678910
  1. //go:build !linux
  2. package cpupick
  3. // perfCPUs is Linux-only sysfs walking; elsewhere report "no distinction".
  4. // Default already returns nil off-Linux (util.AllowedCPUs has no answer
  5. // there), so this exists to keep the package compiling everywhere.
  6. func perfCPUs(allowed []int) ([]int, string) {
  7. return allowed, ""
  8. }