[CMake] ctest & peak memory usage

Clinton Stimpson clinton at elemtech.com
Thu Apr 22 10:37:20 EDT 2010


On Apr 21, 2010, at 11:28 PM, Matt McCormick wrote:

> Clinton Stimpson <clinton at ...> writes:
> 
>> 
>> Hi,
>> 
>> Can ctest report peak memory usage like it reports time and other 
>> measurements?
>> 
>> Thanks,
>> Clint
>> _______________________________________________
> 
> You could have ctest run valgind's massif tool.  An example can be found here:
> http://insight-journal.org/browse/publication/722
> The source is downloadable.
> The output of massif is processed with ms_print, which is parsed by a python 
> script for the peak.
> 

Is there some way to put that result into the ctest output file, Test.xml, as a measurement?

Clint



More information about the CMake mailing list