DISPLACE  1.0
A spatial model of fisheries to help sustainable fishing and maritime spatial planning
getRSS.cpp File Reference

Functions

size_t getPeakRSS ()
 
size_t getCurrentRSS ()
 

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.

◆ 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.