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

Home » Public Forums » archive » profiler
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: Profiler [message #27418 is a reply to message #13251] Fri, 19 October 2001 14:23 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
Ken,

I just tried the simpliest thing that came to my mind. I set a
breakpoint to the first line of a program, then set profiler to profile
all. When you do one-stepping through the code, profile log updates for
every line. I just had to make its window active (click on it) for it to
update. You could use Step over if you didn't want to profile user procedures.

Hope this helps. Surely beats chopping code into dozens of separate
routines :-)

Cheers,
Pavel

"K. Bowman" wrote:
>
> In article <9qoeu3$hm8$1@mwrns.noaa.gov>, Pavel Romashkin
> <pavel.romashkin@noaa.gov> wrote:
>
>> Its been a while, nobody answered. Have you tried it, Ken?
>> I only profiled perfectly debugged code (yeah, right) in order to optimize
>> it. I never felt the need to profile line by line, it was obvious from the
>> profile which part of the code was casuing the drag.
>
> We have not figured out how to profile line-by-line. Doesn't seem to
> be possible Turning on all the system routines, etc. didn't help
> either for this problem.
>
> We have resorted to the simple expedient of commenting out blocks of
> code (where it won't affect the computation) or moving blocks of code
> into temporary subroutines. In our case, at least, it has turned out
> to be relatively simple to isolate the computationally-intensive block.
>
> We have discovered a couple of minor algorithmic optimizations that we
> are testing.
>
> Ken
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Really really long format keywords
Next Topic: Re: using an unlnown number of keywords

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

Current Time: Fri Oct 10 10:37:23 PDT 2025

Total time taken to generate the page: 0.40148 seconds