os.clock
From ComputerCraft Wiki
Revision as of 09:20, 24 September 2012 by 122.150.43.158 (Talk) (Undo revision 3168 by 91.121.27.33 (talk))
Function os.clock | |
Returns the amount of time the Computer has been running, note that this may not be the amount of time the program has been running. the function os.clock() is useful for debugging, see the example. | |
Syntax | os.clock() |
Returns | float, amount of time the computercraft computer has been running, in seconds. |
Part of | ComputerCraft |
API | os |
Examples