examples/test_classes/petscvector/common/test_memorycheck.cpp
/* print all known status of the memory */
print all known status of the memory
print all known status of the memory
void print_memory_status(){
		coutMaster << "status (in bytes):" << std::endl;
		coutMaster << " Virtual memory all/used (percentage)  : ";
		coutMaster << MemoryCheck::get_virtual_all() << " / " << MemoryCheck::get_virtual_used() << " (" << MemoryCheck::get_virtual() << "%)" << std::endl;
		coutMaster << " Physical memory                       : ";
		coutMaster << MemoryCheck::get_physical() << std::endl;
	}
void print_memory_status ( ) { coutMaster << " " << std :: endl ; coutMaster << " " ; coutMaster << MemoryCheck :: get_virtual_all ( ) << " " << MemoryCheck :: get_virtual_used ( ) << " " << MemoryCheck :: get_virtual ( ) << " " << std :: endl ; coutMaster << " " ; coutMaster << MemoryCheck :: get_physical ( ) << std :: endl ; }
print all known status of the memory
print all known status of the memory