How many processors of a kind the machine has.
logical := get_number_of_processors(.ALL_LOGICAL);
assert(logical >= get_number_of_processors(.ALL_PHYSICAL) && logical > 0);Doesn't run in the browser (skipped on wasm).
get_number_of_processors :: (
$type: Processor_Query_Type = .PERFORMANCE_LOGICAL
) -> count: s32
Parameters
- $type: Processor_Query_Type
Returns
- count: s32