[CMake] ctest & peak memory usage

Matt McCormick matt at mmmccormick.com
Thu Apr 22 01:28:48 EDT 2010


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.






More information about the CMake mailing list