#include <sys/stat.h>
#include <cstdlib>
#include <fstream>
#include "autopas/utils/logging/Logger.h"
Go to the source code of this file.
Namespaces | |
namespace | autopas |
This is the main namespace of AutoPas. | |
namespace | autopas::memoryProfiler |
This namespace is used for memory profiling functions. | |
Functions | |
size_t | autopas::memoryProfiler::currentMemoryUsage () |
Reads the current RAM (VmRSS) usage from the operating system. | |
Variables | |
constexpr const char * | autopas::memoryProfiler::statusFileName = "/proc/self/status" |
path to status file of current process | |