Difference between revisions of "Os.clock"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === returns CPU time used by program in seconds <source lang="lua"> (number), = os.clock() </source> '''Re...")
 
Line 4: Line 4:
 
returns CPU time used by program in seconds
 
returns CPU time used by program in seconds
 
<source lang="lua">
 
<source lang="lua">
(number), = os.clock()
+
(number) = os.clock()
 
</source>
 
</source>
 
'''Returns''' (number) time in seconds<br/>
 
'''Returns''' (number) time in seconds<br/>

Revision as of 10:16, 23 August 2018

Available since: Gideros 2011.6

Description

returns CPU time used by program in seconds

(number) = os.clock()

Returns (number) time in seconds