7 #ifndef __FWMEMORY_TOOLS_DARWINMEMORYMONITORTOOLS_HPP__ 8 #define __FWMEMORY_TOOLS_DARWINMEMORYMONITORTOOLS_HPP__ 12 #include "fwMemory/config.hpp" 23 class FWMEMORY_CLASS_API DarwinMemoryMonitorTools
28 FWMEMORY_API DarwinMemoryMonitorTools();
30 FWMEMORY_API ~DarwinMemoryMonitorTools();
32 FWMEMORY_API
static std::uint64_t estimateFreeMem();
34 FWMEMORY_API
static void printProcessMemoryInformation();
36 FWMEMORY_API
static void printSystemMemoryInformation();
38 FWMEMORY_API
static void printMemoryInformation();
40 FWMEMORY_API
static std::uint64_t getTotalSystemMemory();
42 FWMEMORY_API
static std::uint64_t getUsedSystemMemory();
44 FWMEMORY_API
static std::uint64_t getFreeSystemMemory();
46 FWMEMORY_API
static std::uint64_t getUsedProcessMemory();
55 #endif // __FWMEMORY_TOOLS_DARWINMEMORYMONITORTOOLS_HPP__ The namespace fwMemory contains tools to manage memory. Use for dump.