Core.frameStatistics

From GiderosMobile
Revision as of 15:26, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "<source" to "<syntaxhighlight")

Available since: Gideros 2016.08
Class: Core

Description

Returns a table holding frame statistics. <syntaxhighlight lang="lua"> (table) = Core.frameStatistics() </source>

Returned table fields are:

  • 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

Return values

Returns (table) table with data