timemory 3.3.0
Modular C++ Toolkit for Performance Analysis and Logging. Profiling API and Tools for C, C++, CUDA, Fortran, and Python. The C++ template API is essentially a framework to creating tools: it is designed to provide a unifying interface for recording various performance measurements alongside data logging and interfaces to other tools.
|
this struct extracts the high-water mark (or a change in the high-water mark) of the resident set size (RSS). Which is current amount of memory in RAM. When used on a system with swap enabled, this value may fluctuate but should not on an HPC system. More...
#include "timemory/components/rusage/components.hpp"
Public Types | |
using | storage_type = empty_storage |
using | base_type = void |
Public Member Functions | |
double | get () const |
double | get_display () const |
void | start () |
void | stop () |
void | sample () |
sample a measurement More... | |
void | sample (const cache_type &_cache) |
sample a measurement from cached data More... | |
void | start (const cache_type &_cache) |
start a measurement using the cached data More... | |
void | stop (const cache_type &_cache) |
stop a measurement using the cached data More... | |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static value_type | record () |
static value_type | record (const cache_type &_cache) |
read the value from cached data More... | |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
this struct extracts the high-water mark (or a change in the high-water mark) of the resident set size (RSS). Which is current amount of memory in RAM. When used on a system with swap enabled, this value may fluctuate but should not on an HPC system.
Definition at line 50 of file components.hpp.
|
inherited |
Definition at line 67 of file declaration.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
|
inlinestatic |
Definition at line 53 of file components.hpp.
|
inline |
Definition at line 59 of file components.hpp.
References tim::cereal::load().
Referenced by get_display().
|
inline |
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 52 of file components.hpp.
|
inlinestatic |
Definition at line 58 of file components.hpp.
|
inlinestatic |
read the value from cached data
Definition at line 83 of file components.hpp.
|
inline |
|
inline |
sample a measurement from cached data
Definition at line 77 of file components.hpp.
References record().
|
inline |
|
inline |
start a measurement using the cached data
Definition at line 86 of file components.hpp.
References record().
|
inline |
Definition at line 67 of file components.hpp.
References record().
|
inline |
stop a measurement using the cached data
Definition at line 89 of file components.hpp.
References std::max(), and record().