36 #include <sys/types.h>
49 printf(
"available memory: %.2fMB\n", sz_avail / (
float)(1 << 20));
61 printf(
"%s", str.c_str());
size_t memory_available()
GRASS_IOSTREAM_EXPORT MM_register MM_manager
void MEMORY_LOG(const std::string &str)
size_t getAvailableMemory()