Boost logo

Boost :

Subject: Re: [boost] Proposal: Monotonic Containers - Comparison with boost::pool, boost::fast_pool and TBB
From: Milosz Marian HULBOJ (mhulboj_at_[hidden])
Date: 2009-06-22 17:31:48


Christian Schladetsch wrote:
> Hi Luke,
>
> [...]
>> Luke> Peak memory will be a good metric. Do you have access to VTune? You
>> seem to struggle to identify the cause of performance loss and are reduced
>> to guesswork.
>
>
> Peak memory measured by an external tool is no good, as boost::pool and
> boost::fast_pool both leak memory. I need to be able to sample the memory
> used at certain times in the application in a cross-platform way. I'll get
> to this in due time.

Have a look at VTune and perfmon/pfmon:
http://lwn.net/Articles/303967/
http://perfmon2.sourceforge.net/pfmon_usersguide.html

You'll be able to sample the performance counters of the CPU.

Cheers,
Milosz


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk