Thread:getNumLogicalCores

From GiderosMobile
Revision as of 04:42, 11 June 2023 by MoKaLux (talk | contribs)

Available since: 2018.10
Class: Thread

Description

Returns number of logical cores, hardware concurrency, on host machine. For information only.

num_logical_cores = thread:getNumLogicalCores()

Return values

num_logical_cores: (number) number of logical cores