Boost logo

Boost-Build :

From: K. Noel Belcourt (kbelco_at_[hidden])
Date: 2007-11-12 13:54:44


On Nov 11, 2007, at 7:28 PM, Rene Rivera wrote:

> Sorry for only reading this thread now...
>
> David Abrahams wrote:
>> on Sat Nov 10 2007, "K. Noel Belcourt" <kbelco-AT-sandia.gov> wrote:
>>
>>> On Nov 10, 2007, at 11:52 AM, Vladimir Prus wrote:
>>>
>>>> David Abrahams wrote:
> [...]
>>> We could add the ability to time all child processes to bjam, since
> [...]
>> I already implemented that for windows; at least it works there. My
>
> Ah, what's wrong with either the __TIMING_RULE__ or __ACTION_RULE__
> per
> target vars that both give access to the user & system time of an
> action?

Hi Rene,

I think the TIMING_RULE is okay, but there was a problem with the
timing code in execunix.c. I've attached a patch to fix the how the
timing is done. Just changed where we initialize and when we update
the old time. Tested on my desktop.

If it looks okay, I'll commit it to the trunk.

-- Noel






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