Polygon Mesh Processing Library
Loading...
Searching...
No Matches
MemoryUsage Class Reference

A simple class to retrieve memory usage information.

#include <pmp/MemoryUsage.h>

Static Public Member Functions

static size_t max_size ()
 Get the maximum memory size the application has used so far.
 
static size_t current_size ()
 Get the currently used memory.
 

Member Function Documentation

◆ current_size()

size_t current_size ( )
static
Returns
the current resident set size (RSS) in bytes

◆ max_size()

size_t max_size ( )
static
Returns
the max. resident set size (RSS) in bytes