Difference between revisions of "Core.frameStatistics"
From GiderosMobile
m |
|||
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 14: | ||
=== Return values === | === Return values === | ||
'''Returns''' (table) table with data<br/> | '''Returns''' (table) table with data<br/> | ||
+ | |||
{{Core}} | {{Core}} |
Revision as of 08:25, 4 January 2020
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