SyTen

◆ free_unused_memory()

std::array< std::size_t, 3 > syten::free_unused_memory ( )

Instructs MKL and glibc to free unused memory.

Returns
An array { total_rss_remaining, total_freed, mkl_freed } denoting the number of bytes still kept in memory (current RSS), those released back to the system and those released from MKL. The third parameter is always zero if MKL is not used.

References get_current_rss().

+ Here is the call graph for this function: