|
Boost-Build : |
From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-02-07 03:11:38
On Monday 06 February 2006 19:12, Rene Rivera wrote:
> Vladimir Prus wrote:
> > Rene,
> > I've a question about new -d+10 output. What is the "[OTHER]" entry? It
> > takes quite a lot of time, so I'd be interested to know what's that.
>
> It's anything that calls 'profile_enter(0,prof)'. Which currently is
> only used by the hashitem(...) call. SO it's the profile for finding or
> adding to the various hash tables.
>
> > Also, without "-d+10" the running time of bjam is 8 secs. With "-d+10"
> > (and redirection to a file), it's 30 secs. Earlier, -d+10 did not add
> > much too running time, and such big difference is suspicious.
>
> Since it's a frequently called function I can see it having such an
> impact. Because of the impact there's a define at the top of hash.c
> (HASH_DEBUG_PROFILE) which you can comment out do disable it. Just
> change line #29 from "/* */" to "/* *".
I see. And what's the "mem" column? Is that amount of memory allocated while
inside a given rule, including children called from that rule?
- Volodya
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk