PossibleCPU returns the max number of CPUs a system may possibly have Logical CPU numbers must be of the form 0-n
()
| 3 | // PossibleCPU returns the max number of CPUs a system may possibly have |
| 4 | // Logical CPU numbers must be of the form 0-n |
| 5 | func PossibleCPU() (int, error) { |
| 6 | return possibleCPU() |
| 7 | } |
| 8 | |
| 9 | // MustPossibleCPU is a helper that wraps a call to PossibleCPU and panics if |
| 10 | // the error is non-nil. |
no outgoing calls
searching dependent graphs…