Post Reply 
time functions startTimer, checkTimer, tic, toc ...
05-01-2015, 10:46 AM (This post was last modified: 05-01-2015 10:48 AM by DrD.)
Post: #3
RE: time functions startTimer, checkTimer, tic, toc ...
You could do a clock walk like tic toc, per your ti68k calcs and MatrixLab, ad hoc mock:

Code:

EXPORT test()
BEGIN 
  local tic:=ticks, toc;
  for toc from 1 to 6000 do end;  // Do whatever needs doing until done doing dat
  toc:=ticks;
  return ("  computation time [seg] ="+string(toc-tic));  //  disp([ ' computation time [seg] = ' num2str(toc)])
END;
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: time functions startTimer, checkTimer, tic, toc ... - DrD - 05-01-2015 10:46 AM



User(s) browsing this thread: 2 Guest(s)