Difference between revisions of "Core.frameStatistics"

From GiderosMobile
(----)
Line 7: Line 7:
 
*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
 +
  
 
<source lang="lua">
 
<source lang="lua">
Line 15: Line 16:
 
'''Returns''' (table) table with data<br/>
 
'''Returns''' (table) table with data<br/>
  
----
+
{{Core}}
{{Special:PrefixIndex/Core}}
 
<br/>
 

Revision as of 01:10, 3 December 2019

Available since: Gideros 2016.08
Class: Core

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