Jump to content

Time a function: Difference between revisions

+Stata
(→‎{{header|Haskell}}: Adjusted name to side-step wiki format glitch)
(+Stata)
Line 1,832:
val it = () : unit
 
=={{header|Stata}}==
Stata can track up to 100 timers. See '''[http://www.stata.com/help.cgi?timer timer]''' in Stata help.
 
<lang stata>program timer_test
timer clear 1
timer on 1
sleep `0'
timer off 1
timer list 1
end
 
. timer_test 1000
1: 1.01 / 1 = 1.0140</lang>
=={{header|Tcl}}==
The Tcl <code>time</code> command returns the real time elapsed
1,336

edits

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