I put a bounty

Derek Atkins warlord at MIT.EDU
Fri May 28 12:09:46 EDT 2004


linas at linas.org (Linas Vepstas) writes:

> You might find gnc-trace.h  #define START_CLOCK and REPORT_CLOCK
> handy for measuring elapsed time.

Hmm, I've never heard of these macros before.  Are these nestable?
E.g., would this code snippet work properly (doing what I'd expect)?

foo()
{
 START_CLOCK;
 ....
 REPORT_CLOCK;
}

bar()
{
 START_CLOCK;
 ...
 foo();
 ...
 REPORT_CLOCK;
}


> --linas

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-devel mailing list