Os.clock

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

Available since: Gideros 2011.6
Class: os

Description

Returns CPU time used by the program in seconds. <syntaxhighlight lang="lua"> (number) = os.clock() </source>

Return values

Returns (number) CPU time in seconds