Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.