SyTen
free_unused_memory.cpp File Reference

Implementation for inc/util/free_unused_memory.h. More...

#include <iostream>
#include <fstream>
#include <malloc.h>
#include <unistd.h>
#include "inc/util/mkl_include.h"
#include "inc/util/free_unused_memory.h"
+ Include dependency graph for free_unused_memory.cpp:

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

Implementation for inc/util/free_unused_memory.h.