Difference between revisions of "Os.clock"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[os]]<br/> |
− | ''' | + | |
− | === | + | === Description === |
− | + | Returns CPU time used by the program in seconds. | |
<source lang="lua"> | <source lang="lua"> | ||
(number) = os.clock() | (number) = os.clock() | ||
</source> | </source> | ||
− | === | + | |
− | ''' | + | === Return values === |
+ | '''Returns''' (number) CPU time in seconds<br/> | ||
{{Os}} | {{Os}} |
Revision as of 23:15, 28 October 2022
Available since: Gideros 2011.6
Class: os
Description
Returns CPU time used by the program in seconds.
(number) = os.clock()
Return values
Returns (number) CPU time in seconds