
22 Jun
2009
22 Jun
'09
9:31 p.m.
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