UtilityEx.GetCpuCount Method

Gets the number of logical processors.
Public Shared Function GetCpuCount( _ 
ByVal len As Integer, _ 
ByRef startIndex As Integer(), _ 
ByRef endIndex As Integer() _ 
) As Integer
This language is not supported or no code example is available.
public static int GetCpuCount( 
int len
out int[] startIndex
out int[] endIndex 
)
This language is not supported or no code example is available.

Parameters

len
int

Total number of the items to process

startIndex
int[]

Array of start indices

endIndex
int[]

Array of end indices

Return Value

int

The number of logical processors

.NET Framework

Supported in: 4.8

In this article

Definition