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

Home » Public Forums » archive » Re: Measure Performance via QueryPerformanceCounter
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: Measure Performance via QueryPerformanceCounter [message #41720 is a reply to message #41712] Sat, 20 November 2004 14:59 Go to previous messageGo to previous message
dszlucha@gmail.com is currently offline  dszlucha@gmail.com
Messages: 3
Registered: November 2004
Junior Member
Daniel -

To measure elapsed time in IDL try:

start = SYSTIME(/SECONDS)

<code to time here>

elapsed_time = SYSTIME(/SECONDS) - start

Also, a win32 function that I've used to ckeck elapsed time is
timeGetTime() (result = CALL_EXTERNAL('kernel32.dll', 'timeGetTime',
/L64_VALUE))

David
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: announcing GDL 0.8.6 (was: GDL 0.8.6 is out)
Next Topic: Draw Widgets

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

Current Time: Sat Oct 11 21:01:35 PDT 2025

Total time taken to generate the page: 1.60140 seconds