package processorinfo
import "github.com/Microsoft/hcsshim/internal/processorinfo"
Index ¶
Functions ¶
func ProcessorCount ¶
func ProcessorCount() int32
ProcessorCount calls the win32 API function GetMaximumProcessorCount to get the total number of logical processors on the system. If this fails it will fall back to runtime.NumCPU
Source Files ¶
- Version
- v0.8.12
- Published
- Dec 15, 2020
- Platform
- windows/amd64
- Imports
- 2 packages
- Last checked
- 1 second ago –
Tools for package owners.