petsc-master 2020-10-29
Report Typos and Errors

PetscMallocTraceGet

Determine whether all calls to PetscMalloc() are being traced

Synopsis

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

Output Argument

logging - PETSC_TRUE if logging is active

Options Database Key

-malloc_view <optional filename> - Activates PetscMallocView()

See Also

PetscMallocTraceSet(), PetscMallocViewGet(), PetscMallocDump(), PetscMallocView()

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