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 #41722 is a reply to message #41720] Sat, 20 November 2004 07:20 Go to previous message
KM is currently offline  KM
Messages: 29
Registered: October 2004
Junior Member
On Sat, 19 Nov 2004, Daniel wrote:
> I have a small prgramm with some loops, but still the programm is
> to slow. So I would like to measure which loops take how long. I
> was thinking of measuring via with help of the
> QueryPerformanceCounter API like
>
> result=call_external('kernel32.dll','QueryPerformanceCounter ',/l64_value)
>
> but I only get an constant value as return. Has anybody used this
> API before an how would the correct call_external command look
> like.

Are your loops and program in IDL on in the DLL? It looks like you
might be using the DLL just for performance checking? If so, you
might want to stay in IDL instead and look at the PROFILER
procedure.

-k.
[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 12:36:17 PDT 2025

Total time taken to generate the page: 0.00186 seconds