I need to know what's the real difference between the function CPUTIME and the combination between TIC,TOC?
When i run a function, it is always almost the same time that is printed or what MAthworks mean exactly by CPUTIME, the help given is not very clear (that of the manual too). PArticularly the it is not said that there's a difference between the two function.. First i thought that we can compute with CPUTIME the effective time needed by the CPU..
In other words, let us suppose that we have to compute the elapsed time needed for <a_function>
> tic, <a_function>,t1 = toc
> t0=cputime;<a_function>, t2 = cputime-t;Are t1 and t2 ALWAYS equal?????? Any help will be appreciated, S. Guetari