PolyFEM
Loading...
Searching...
No Matches
getRSS.h
Go to the documentation of this file.
1#ifndef POLYFEM_UTILS_GETRSS_H
2#define POLYFEM_UTILS_GETRSS_H
3#ifdef __cplusplus
4extern "C"
5{
6#endif
7
8 size_t getPeakRSS();
9 size_t getCurrentRSS();
10
11#ifdef __cplusplus
12}
13#endif
14#endif // POLYFEM_UTILS_GETRSS_H_
size_t getCurrentRSS()
Returns the current resident set size (physical memory use) measured in bytes, or zero if the value c...
Definition getRSS.c:79
size_t getPeakRSS()
Returns the peak (maximum so far) resident set size (physical memory use) measured in bytes,...
Definition getRSS.c:37