Difference between revisions of "Core.frameStatistics"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.08<br/>
 
'''Available since:''' Gideros 2016.08<br/>
 
=== Description ===
 
=== Description ===
Returns table with fields:  
+
<translate>Returns table with fields:  
 
*meanFrameTime* - the average duration of a frame (useful to get current fps),  
 
*meanFrameTime* - the average duration of a frame (useful to get current fps),  
 
*meanFreeTime* - the average free cpu time in a frame
 
*meanFreeTime* - the average free cpu time in a frame
*frameCounter* - frame's number
+
*frameCounter* - frame's number</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(table) = Core.frameStatistics()
 
(table) = Core.frameStatistics()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (table) table with data<br/>
+
'''Returns''' (table) <translate>table with data</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2016.08

Description

Returns table with fields:

  • meanFrameTime* - the average duration of a frame (useful to get current fps),
  • meanFreeTime* - the average free cpu time in a frame
  • frameCounter* - frame's number
(table) = Core.frameStatistics()

Return values

Returns (table) table with data