docs

Home All functions Categories

vuProcessorCount()

vuProcessorCount(), LONG

Description

Returns the number of logical processors available on the system.

Parameters

Parameter Data Type Description
None   This function takes no parameters.

Returns

A LONG value containing the number of logical processors.
On systems with Hyper-Threading, each logical processor is counted (e.g., a single physical CPU with Hyper-Threading enabled may return 2).

Example

MESSAGE('This PC has ' & vuProcessorCount() & ' processors')

Notes

Home All functions Categories