PetscGetResidentSetSize
Returns the maximum resident set size (memory used) for the program.
Synopsis
int PetscGetResidentSetSize(PLogDouble *foo)
Not
Collective
Output Parameter
mem - memory usage in
bytes
Options Database Key
-trmalloc_log -Activate logging of memory usage
Notes
The memory usage reported here includes all Fortran
arrays(that may be used in application-defined sections of code).
This routine thus provides a more complete picture of
memoryusage than PetscTrSpace() for codes that employ Fortran
withhardwired arrays.
See Also
PetscTrSpace()
Keywords
get, resident, set, size
Location: src/sys/src/memorymem.c
System Index
Table of Contents