Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Help : What's the real difference between the function CPUTIME and TIC,TOC???
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
alex

Posts: 6
Registered: 12/7/04
Help : What's the real difference between the function CPUTIME and TIC,TOC???
Posted: Sep 23, 1996 4:15 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

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





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.