petsc-3.14.6 2021-03-30
Report Typos and Errors
PetscMemorySetGetMaximumUsage
Tells PETSc to monitor the maximum memory usage so that
PetscMemoryGetMaximumUsage
() will work.
Synopsis
#include "petscsys.h"
PetscErrorCode
PetscMemorySetGetMaximumUsage
(void)
Not Collective
Options Database Key
-memory_view
- Print memory usage at end of run
-malloc_log
- Activate logging of memory usage
See Also
PetscMallocGetMaximumUsage
(),
PetscMemoryGetCurrentUsage
(),
PetscMallocGetCurrentUsage
(),
PetscMemoryGetMaximumUsage
()
Level
intermediate
Location
src/sys/memory/mem.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages