Skip to content

Massif snapshots

James Willenbring requested to merge cgcgcg:massifSnapshots into develop

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: memory_profile The script has options to filter out short timers, or timers that see only a small change in memory usage.

Merge request reports

Loading