PetscMallocTraceGet#
Determine whether all calls to PetscMalloc() are being traced
Synopsis#
#include "petscsys.h"
PetscErrorCode PetscMallocTraceGet(PetscBool *logging)
Not Collective
Output Parameter#
logging -
PETSC_TRUEif logging is active
Options Database Key#
-malloc_view
- ActivatesPetscMallocView()
This only does anything if -malloc_debug (or -malloc_test if PETSc was configured with debugging) has been used
See Also#
PetscMallocTraceSet(), PetscMallocViewGet(), PetscMallocDump(), PetscMallocView(), PetscMalloc(), PetscFree()
Level#
advanced
Location#
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages