PetscMemoryView#
Shows the amount of memory currently being used in a communicator.
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscMemoryView(PetscViewer viewer, const char message[])
Collective
Input Parameters#
viewer - the viewer that defines the communicator
message - string printed before values
Options Database Keys#
-malloc_debug - have PETSc track how much memory it has allocated
-log_view_memory - print memory usage per event
-memory_view - during PetscFinalize() have this routine called
See Also#
PetscMallocDump()
, PetscMemoryGetCurrentUsage()
, PetscMemorySetGetMaximumUsage()
, PetscMallocView()
Level#
intermediate
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages