SyTen
free_unused_memory.h File Reference

Frees unused memory, both allocated by the MKL and glibc. More...

#include <array>
#include <cstddef>
+ Include dependency graph for free_unused_memory.h:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 syten
 Syten namespace.
 

Functions

std::array< std::size_t, 3 > syten::free_unused_memory ()
 Instructs MKL and glibc to free unused memory. More...
 
std::size_t syten::get_current_rss ()
 Returns the current total memory footprint of the program in bytes. More...
 

Detailed Description

Frees unused memory, both allocated by the MKL and glibc.