From: Jody Hagins (jody-boost-011304_at_[hidden])
Date: 2004-12-01 19:35:18
On Wed, 01 Dec 2004 22:36:37 +0000
Reece Dunn <msclrhd_at_[hidden]> wrote:
> I have also managed to get the tests working, but needed to make the
> following changes (VC++ does not have <sys/time.h> by default):
> Also included is a running comment on what the profiler is doing, so
> the user can tell what is going on.
Hmmm. I seem to have missed that part.
> Have you thought about using boost::timer? I have also created a v2
> jam file to make it easier to build on different compilers.
>From the timer.hpp header file...
// It is recommended that implementations measure wall clock rather
// time since the intended use is performance measurement on systems
// total elapsed time is more important than just process or CPU time.
However, for better portability (and higher boost usage points), I can
use date_time. The test program, using date_time is attached.
> It would be interesting to hook this into Boost.Test as this would
> make it easier to capture the results and perform processing/analysis
> on the data. Also, it would possibly be beneficial to have some sort
> of Boost.Profiling library that sits on top of Boost.Test to make it
> easier to do this.
I agree, but I am still a Boost.Build/Boost.Test neophite. The jamfile
is simple enough, but what is *not* there is what makes it confusing for
us old "make" hacks...
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk