PolyFEM
Loading...
Searching...
No Matches
getRSS.c File Reference

Go to the source code of this file.

Functions

size_t getPeakRSS (void)
 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 (void)
 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 ( void  )

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 ( void  )

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: