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 )
Collective on PETSC_COMM_WORLD
Input Parameter
fp -file pointer. If fp is NULL, stderr is assumed.
Options Database Key
-trdump -Dumps unfreed memory during call to PetscFinalize()
Fortran Note
The calling sequence in Fortran is PetscTrDump(integer ierr)
The fp defaults to stdout.
Keywords
memory, allocation, tracing, space, statistics
See Also
PetscTrSpace(), PetscTrLogDump()
Level:intermediate
Location:src/sys/src/memory/mtr.c
System Index
Table of Contents