PetscTrDump

Dumps the allocated memory blocks to a file. The information printed is: size of space (in bytes), address of space, id of space, file in which space was allocated, and line number at which it was allocated.

Synopsis

int PetscTrDump( FILE *fp )

Input Parameter

fp -file pointer. If fp is NULL, stderr is assumed.

Collective on PETSC_COMM_WORLD

Options Database Key

-trdump -Dumps unfreed memory during call to PetscFinalize()

Fortran Note

The calling sequence in Fortran is PetscTrDump(integer ierr)

Keywords

memory, allocation, tracing, space, statistics

See Also

PetscTrSpace()

Location: src/sys/src/memorymtr.c
System Index
Table of Contents