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

Home » Public Forums » archive » Re: Ready to quit after 25 years...
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: Ready to quit after 25 years... [message #76957 is a reply to message #76891] Tue, 12 July 2011 06:23 Go to previous messageGo to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
Hi,

On 7/8/11 12:53 PM, Chris Torrence wrote:

> Now, regarding the problem with Arg_Present - it turns out to not be
> a problem with Arg_Present at all. The Profiler introduces a slight
> overhead when it computes the time spent per iteration and records
> the information in an internal data structure. For most routines this
> overhead is negligible compared to the execution time of the routine.
> However, for very fast routines (like Arg_Present), the overhead is
> significant. The real problem is that Arg_Present was getting called
> 15 million times. So what you were really measuring for things like
> Arg_Present, Obj_Isa, etc. is just the speed of the profiler!
>

I wonder if N_PARAMS would be good candidate to add to the list of
masked routines?

> I just made a change to the way the Profiler works. Now, by default
> it will not include the following routines: ARG_PRESENT, KEYWORD_SET,
> N_ELEMENTS, OBJ_ISA, OBJ_VALID, PTR_VALID, SIZE. You can still turn
> on profiling for these routines, but you need to do it explicitly.
> For example: PROFILER, /SYSTEM ; turns on profiling for all system
> routines except the above PROFILER, 'ARG_PRESENT', /SYSTEM ; also
> turns it on
>

I'm still a bit fuzzy on what the SYSTEM keyword does. Are you saying
that setting SYSTEM = 1 will cause PROFILER to include the the masked
routines? or will it exclude the masked routines?

My father might have asked, "To New York or by bus?"

Thanks,
Ben
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Writing a lot of data to ASCII file without a loop?
Next Topic: postscript output always green

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

Current Time: Fri Oct 10 14:50:21 PDT 2025

Total time taken to generate the page: 1.35975 seconds