Difference between revisions of "Os.clock"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
returns CPU time used by program in seconds
+
<translate>returns CPU time used by program in seconds</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number) = os.clock()
 
(number) = os.clock()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) time in seconds<br/>
+
'''Returns''' (number) <translate>time in seconds</translate><br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2011.6

Description

returns CPU time used by program in seconds

(number) = os.clock()

Return values

Returns (number) time in seconds