|
openPMD-api
|
The Memory profiler class for profiling purpose. More...
#include <MemoryProfiler.hpp>
Public Member Functions | |
| MemoryProfiler (int rank, const std::string &tag) | |
| Simple Memory profiler for linux. More... | |
| void | Display (const std::string &tag) |
| Display virtual memory info. More... | |
The Memory profiler class for profiling purpose.
Simple Memory usage report that works on linux system
|
inline |
Simple Memory profiler for linux.
| [in] | rank | MPI rank |
| [in] | tag | item name to measure |
|
inline |
Display virtual memory info.
Read from /proc/self/status and display the Virtual Memory info at rank 0 to stdout
| tag | item name to measure |
1.8.13