Jump to content

Rate counter: Difference between revisions

no edit summary
No edit summary
Line 1,952:
</pre>
 
=={{header|Yabasic}}==
<lang Yabasic>iterations = 100000
 
for j = 2 to 4
a = peek("millisrunning")
for i = 1 to iterations
void = i + j^2
next
dif = peek("millisrunning") - a
print "take ", dif, " ms";
print " or ", iterations / dif * 1000 using "########", " sums per second"
next</lang>
 
=={{header|zkl}}==
672

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.