TuttleOFX  1
TuttleOFX/libraries/tuttle/src/tuttle/common/system/memoryInfo.hpp
Go to the documentation of this file.
00001 #ifndef TUTTLE_SYSTEM_MEMORY_HPP_
00002 #define TUTTLE_SYSTEM_MEMORY_HPP_
00003 
00004 #include <cstddef>
00005 #include <ostream>
00006 
00007 struct MemoryInfo
00008 {
00009         std::size_t _totalRam;
00010         std::size_t _freeRam;
00011         //      std::size_t _sharedRam;
00012         //      std::size_t _bufferRam;
00013         std::size_t _totalSwap;
00014         std::size_t _freeSwap;
00015 };
00016 
00017 MemoryInfo getMemoryInfo();
00018 
00019 std::ostream& operator<<( std::ostream& os, const MemoryInfo& infos );
00020 
00021 #endif
00022