PetscMallocTraceGet#

Determine whether all calls to PetscMalloc() are being traced

Synopsis#

#include "petscsys.h" 
PetscErrorCode PetscMallocTraceGet(PetscBool *logging)

Not Collective

Output Parameter#

Options Database Key#

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#

src/sys/memory/mtr.c


Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages