Difference between revisions of "Os.clock"

From ComputerCraft Wiki
Jump to: navigation, search
m (moved Os.clock() to Os.clock)
(Anh chau Ta cung nhau nhin di)
Line 1: Line 1:
{{lowercase}}
+
Hello my friend heres my new gig easy as it looks Ill send u a total of 5350++ backlinks to your website in 2 tiers. This gig its for 1 website and up to 5 keywords. First tier to your main website 350 page rank 1-5 and the the second tier of 5000 profile backlinks pointing to your first tier.Ill send u a report in a txt file in less than 48 hours.Any question just send me a private message
{{Function
+
|name=os.clock
+
|returns=[[float (type)|float]], amount of time the computercraft computer has been running.
+
|api=os
+
|addon=ComputerCraft
+
|desc=Returns the amount of time the computer craft 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.
+
|examples=
+
{{Example
+
|desc=Measure how long a custom function takes to execute
+
|code=x = os.clock() -- compensates for time already passed<br />myfunction() -- function to be tested<br />y = (os.clock() - x) -- calculates time change<br />print(y)
+
|output=Time it took to run myFunction()
+
}}
+
}}
+

Revision as of 10:05, 24 June 2012

Hello my friend heres my new gig easy as it looks Ill send u a total of 5350++ backlinks to your website in 2 tiers. This gig its for 1 website and up to 5 keywords. First tier to your main website 350 page rank 1-5 and the the second tier of 5000 profile backlinks pointing to your first tier.Ill send u a report in a txt file in less than 48 hours.Any question just send me a private message