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

Home » Public Forums » archive » IDL 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: IDL profiler [message #72661 is a reply to message #72607] Wed, 29 September 2010 04:25 Go to previous messageGo to previous message
Mrunmayee is currently offline  Mrunmayee
Messages: 24
Registered: May 2009
Junior Member
On Sep 27, 11:45 pm, Chris Torrence <gorth...@gmail.com> wrote:
> On Sep 27, 12:05 am, Mrunmayee <gaur...@gmail.com> wrote:
>
>
>
>>> I presume the rest of the time is spent in system
>>> routines that aren't listed in the profile, but
>>> I really don't know. Nor can I get myself to
>>> care too much about it, if you know what I mean. :-)
>
>>> Why are you treating this information in such
>>> an absolute way? If you are looking for places
>>> where your code is slow, Profile will show you
>>> that. Why care what the absolute time is?
>
>>> Cheers,
>
>>> David
>
>>> --
>>> David Fanning, Ph.D.
>>> Fanning Software Consulting, Inc.
>>> Coyote's Guide to IDL Programming:http://www.dfanning.com/
>>> Sepore ma de ni thui. ("Perhaps thou speakest truth.")
>
>> I just wanted to make sure I understand what's going on inside the
>> profiler's belly. I did use the info to identify the part of the code
>> that was taking up time. As for system routine, I had issued commands
>> 'profiler,/system & profiler' to profile both -user-defined and system
>> routines. So it showed time spent in my routines as well as routines
>> such as sin, cos, rebin etc. And my confusion was, even then it
>> doesn't add up to total time.
>
>> Not worrying, though. Just trying to get a clearer picture.
>
> Have you tried the "Profiler View" in the IDL Workbench? It will give
> you a graphical display of the profiler results, with a table of the
> different times. You can then sort on each column, and export the
> results to a text file, etc.
>
> Just a suggestion.
>
> -Chris
> ITTVIS

I tried it *now*! I didn't know about graphical way. It's nice, but I
am happy with my command-line version, as I can just save the whole
thing in a variable. I always journal my sessions, so
print,outputvariable is always available to see later in that
particular journal file. Thanks for pointing this way to me. It is
cooler than mine :) (Of course, my version of IDL is old. 6.0. So just
wondering if higher versions include 'color-coded' display as well!)
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: mgunit rocks!
Next Topic: Coyote Facts

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

Current Time: Sat Oct 11 16:14:08 PDT 2025

Total time taken to generate the page: 0.24607 seconds