Boost logo

Boost-Build :

From: Rene Rivera (grafik.list_at_[hidden])
Date: 2006-02-06 11:12:18


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 "/* *".

--
-- Grafik - Don't Assume Anything
-- Redshift Software, Inc. - http://redshift-software.com
-- rrivera/acm.org - grafik/redshift-software.com
-- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

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