comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Is there any way to check running speed?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Is there any way to check running speed? [message #52670 is a reply to message #52669] Thu, 15 February 2007 08:32 Go to previous messageGo to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"DirtyHarry" <kim20026@gmail.com> wrote in message
news:1171555908.413006.152020@l53g2000cwa.googlegroups.com.. .
> Hello, Dr. Fanning,
>
> Sorry for my broken English... (T.T)
>
> If I run a sourcecode whose total running time is 28 hours, sometimes
> I want to stop IDL intentionally to check whether the program is
> running properly. Even in this case, can I have the running time of
> it? If you are still missing something, (Mmmm... Can you speak Korean?
> Just kidding... Sorry T.T) please reply me one more time.

You can put your own statements in to check the time
elapsed between any lines in your code, whether it has stopped
or not.



starttime = systime(1)

dostuff

stoptime = systime(1)

print,'elapsed time in seconds: ',stoptime - starttime


Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Multiply matrix
Next Topic: contour on map

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 04:04:10 PDT 2025

Total time taken to generate the page: 0.48157 seconds