function f(t)
tic;while toc<t,end
 
end % this is needed in the online interpreter only, to separate function from interpreter commands
 
tic,f(1),toc % f(1) should introduce a 1-second stop. tic and toc will measure it