AutoPas  3.0.0
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
MemoryProfiler.h File Reference
#include <sys/stat.h>
#include <cstdlib>
#include <fstream>
#include "autopas/utils/logging/Logger.h"
Include dependency graph for MemoryProfiler.h:
This graph shows which files directly or indirectly include this file:

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
 

Detailed Description

Author
F. Gratl
Date
9/18/18