Massif snapshots
Created by: cgcgcg
When Teuchos is compiled with
Teuchos_TIME_MASSIF_SNAPSHOTS:BOOL=ON
and an executable is run through valgrind's massif tool, e.g.
valgrind --tool=massif ./MueLu_Driver.exe --matrixType=Laplace3D --nx=80 --ny=80 --nz=80
then memory snapshots are created before and after every Teuchos timer.
The snapshots can be plotted using the script packages/teuchos/core/utils/plotMassifMemoryUsage.py
:
The script has options to filter out short timers, or timers that see only a small change in memory usage.