Difference between revisions of "Os.clock"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>returns CPU time used by program in seconds</translate>
 
<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 ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>time in seconds</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>time in seconds</translate><br/>

Revision as of 07:27, 24 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