mttElapseTime.m 186 B

12345
  1. function elapsed_time = mttElapseTime(t0)
  2. current_time = mttGetTime ;
  3. elapsed_time.cpu = current_time.cpu - t0.cpu ;
  4. elapsed_time.clock = etime(current_time.clock,t0.clock) ;