Core.frameStatistics: Difference between revisions
From GiderosMobile
No edit summary |
---- |
||
| Line 1: | Line 1: | ||
'''Available since:''' Gideros 2016.08<br/> | |||
'''Class:''' [[Core]]<br/> | |||
''' | |||
''' | === Description === | ||
=== | Returns table with fields: | ||
*meanFrameTime - the average duration of a frame (useful to get current fps) | |||
*meanFrameTime | *meanFreeTime - the average free cpu time in a frame | ||
*meanFreeTime | *frameCounter - frame's number | ||
*frameCounter | |||
<source lang="lua"> | <source lang="lua"> | ||
(table) = Core.frameStatistics() | (table) = Core.frameStatistics() | ||
</source> | </source> | ||
=== | |||
''' | === Return values === | ||
'''Returns''' (table) table with data<br/> | |||
---- | |||
{{Special:PrefixIndex/Core}} | |||
<br/> | |||
Revision as of 15:52, 2 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
- Core
- Core.asyncCall
- Core.asyncThread
- Core.class
- Core.enableAllocationTracking
- Core.fileLoad
- Core.fileSave
- Core.findReferences
- Core.frameStatistics
- Core.getScriptPath
- Core.profilerReport
- Core.profilerReset
- Core.profilerStart
- Core.profilerStop
- Core.random
- Core.randomSeed
- Core.setAutoYield
- Core.signal
- Core.stopping
- Core.yield
- Core.yieldable
- Core.yieldlock