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 #52667 is a reply to message #52647] Thu, 15 February 2007 13:04 Go to previous messageGo to previous message
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Bob Crawford wrote:
> I think prehaps what the OP is looking for is a way to get the elapsed
> time of execution of the code minus any time spent while he stops the
> code to verify it is working properly.
>
> Without knowing how the OP "stops" his code for these checks, it's not
> really possible to know if it's possible. If he has coded a pause/
> resume function then the time spent stopped in that function could be
> calculated (as suggested above), and then subtracted from the total
> execution time (calculated again as suggested above by bob).
>
> Alternately I would suggest that the OP first makes sure that his code
> works correctly, and then worry about execution time, thus removing
> the need to stop mid run.

Alternatively, a wall clock would do the job pretty well in this sort of scenario since
+/- 5 minutes is probably a high resolution measurement.

Unless, of course, he charges his time like a lawyer.... :o)

cheers,

paulv

--
Paul van Delst Ride lots.
CIMSS @ NOAA/NCEP/EMC Eddy Merckx
[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: Sat Oct 11 09:42:25 PDT 2025

Total time taken to generate the page: 1.20403 seconds