Difference between revisions of "Core.frameStatistics"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2016.08<br/> === Description === Returns table with fields: *meanFrameTime* - the average duration of a frame (useful to get current...")
 
Line 7: Line 7:
 
*frameCounter* - frame's number
 
*frameCounter* - frame's number
 
<source lang="lua">
 
<source lang="lua">
(table), = Core.frameStatistics()
+
(table) = Core.frameStatistics()
 
</source>
 
</source>
 
'''Returns''' (table) table with data<br/>
 
'''Returns''' (table) table with data<br/>

Revision as of 10:21, 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()

Returns (table) table with data