Difference between revisions of "Thread:getNumLogicalCores"

From GiderosMobile
Line 13: Line 13:
 
=== <translate>Return values</translate> ===
 
=== <translate>Return values</translate> ===
 
'''num_logical_cores: ''' ''(number)''  <translate></translate><br/>
 
'''num_logical_cores: ''' ''(number)''  <translate></translate><br/>
 +
 +
{{Thread}}

Revision as of 22:58, 11 February 2020


Available since: 2018.10
Class: Thread

Description

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

local num_logical_cores = thread:getNumLogicalCores()

Parameters

none

Return values

num_logical_cores: (number)