petsc-3.6.1 2015-08-06
Report Typos and Errors

PetscMallocSetDumpLogThreshold

Activates logging of all calls to PetscMalloc().

Synopsis

#include "petscsys.h" 
PetscErrorCode PetscMallocSetDumpLogThreshold(PetscLogDouble logmin)
Not Collective

Input Arguments

logmin -minimum allocation size to log, or PETSC_DEFAULT

Options Database Key

-malloc_log <filename> - Activates PetscMallocDumpLog()
-malloc_log_threshold <min> - Activates logging and sets a minimum size

See Also

PetscMallocDump(), PetscMallocDumpLog(), PetscMallocSetDumpLog()

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