PolyFEM
Loading...
Searching...
No Matches
getRSS.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

size_t getPeakRSS ()
 Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.
 
size_t getCurrentRSS ()
 Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.
 

Function Documentation

◆ getCurrentRSS()

size_t getCurrentRSS ( )

Returns the current resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

Definition at line 79 of file getRSS.c.

◆ getPeakRSS()

size_t getPeakRSS ( )

Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes, or zero if the value cannot be determined on this OS.

Definition at line 37 of file getRSS.c.

Referenced by polyfem::io::OutStatsData::save_json(), and polyfem::io::RuntimeStatsCSVWriter::write().

Here is the caller graph for this function: