Re: proposal for ICU tracing

Andy Heninger <[email protected]>
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
Robert Buck wrote:
>>This is a proposal to add a tracing facility to ICU.
> 
> And of course, may I assume that there will be some feature-on/off C preprocessor magic for those of us that do not want the runtime overhead?
> 

Yes, some configuration option to compile out the tracing stuff is 
planned.  But, by default, the tracing code will be present in release 
builds.  The overhead is a single if(boolean_variable) test at the entry 
  and exit of traced functions, not too bad.

Initially, our requirement is for tracing of collation API functions. 
Tracing won't be everywhere, at least not at first.  And it wont be on 
every low level internal function, which would indeed result in an 
overhead issue.


-- 
   -- Andy Heninger
      [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.