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 absolute value of high-water mark of the resident set size (RSS) at start and stop points. RSS is current amount of memory in RAM. More...
#include "timemory/components/rusage/components.hpp"
Public Types | |
using | unit_type = std::pair< int64_t, int64_t > |
using | display_unit_type = std::pair< std::string, std::string > |
using | result_type = std::pair< double, double > |
using | this_type = current_peak_rss |
using | storage_type = empty_storage |
using | base_type = void |
Public Member Functions | |
void | start () |
void | stop () |
void | start (const cache_type &_cache) |
void | stop (const cache_type &_cache) |
std::string | get_display () const |
result_type | get () const |
Static Public Member Functions | |
static std::string | label () |
static std::string | description () |
static value_type | record () |
static value_type | record (const cache_type &_cache) |
static std::pair< double, double > | unit () |
static std::vector< std::string > | display_unit_array () |
static std::vector< std::string > | label_array () |
static display_unit_type | display_unit () |
static std::pair< double, double > | unit_array () |
static std::vector< std::string > | description_array () |
static unit_type | get_unit () |
static display_unit_type | get_display_unit () |
template<typename... Args> | |
static opaque | get_opaque (Args &&...) |
this struct extracts the absolute value of high-water mark of the resident set size (RSS) at start and stop points. RSS is current amount of memory in RAM.
Definition at line 563 of file components.hpp.
|
inherited |
Definition at line 67 of file declaration.hpp.
using tim::component::current_peak_rss::display_unit_type = std::pair<std::string, std::string> |
Definition at line 566 of file components.hpp.
using tim::component::current_peak_rss::result_type = std::pair<double, double> |
Definition at line 567 of file components.hpp.
|
inherited |
Definition at line 66 of file declaration.hpp.
Definition at line 568 of file components.hpp.
using tim::component::current_peak_rss::unit_type = std::pair<int64_t, int64_t> |
Definition at line 565 of file components.hpp.
|
inlinestatic |
Definition at line 571 of file components.hpp.
|
inlinestatic |
Definition at line 655 of file components.hpp.
|
inlinestatic |
Definition at line 651 of file components.hpp.
Referenced by get_display_unit().
|
inlinestatic |
Definition at line 640 of file components.hpp.
References get_display_unit().
|
inline |
Definition at line 627 of file components.hpp.
References get_unit(), and tim::cereal::load().
Referenced by get_display().
|
inline |
|
inlinestatic |
Definition at line 675 of file components.hpp.
References display_unit(), tim::units::get_memory_unit(), and tim::memory_units.
Referenced by display_unit_array(), and get_display().
|
inlinestaticinherited |
Definition at line 72 of file declaration.hpp.
|
inlinestatic |
Definition at line 661 of file components.hpp.
References tim::units::get_memory_unit(), tim::memory_units, and unit().
Referenced by get().
|
inlinestatic |
Definition at line 570 of file components.hpp.
|
inlinestatic |
Definition at line 646 of file components.hpp.
|
inlinestatic |
Definition at line 576 of file components.hpp.
|
inlinestatic |
Definition at line 587 of file components.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 580 of file components.hpp.
References std::max(), and record().
|
inline |
|
inlinestatic |
Definition at line 635 of file components.hpp.
Referenced by get_unit(), and unit_array().
|
inlinestatic |