timemory
3.2.1
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 |
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 () |
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 571 of file components.hpp.
using tim::component::current_peak_rss::display_unit_type = std::pair<std::string, std::string> |
Definition at line 574 of file components.hpp.
using tim::component::current_peak_rss::result_type = std::pair<double, double> |
Definition at line 575 of file components.hpp.
Definition at line 576 of file components.hpp.
using tim::component::current_peak_rss::unit_type = std::pair<int64_t, int64_t> |
Definition at line 573 of file components.hpp.
|
inlinestatic |
Definition at line 579 of file components.hpp.
|
inlinestatic |
Definition at line 663 of file components.hpp.
|
inlinestatic |
Definition at line 659 of file components.hpp.
Referenced by get_display_unit().
|
inlinestatic |
Definition at line 648 of file components.hpp.
References get_display_unit().
|
inline |
Definition at line 635 of file components.hpp.
References get_unit(), and tim::cereal::load().
Referenced by get_display().
|
inline |
|
inlinestatic |
Definition at line 683 of file components.hpp.
References display_unit(), tim::units::get_memory_unit(), and tim::memory_units.
Referenced by display_unit_array(), and get_display().
|
inlinestatic |
Definition at line 669 of file components.hpp.
References tim::units::get_memory_unit(), tim::memory_units, and unit().
Referenced by get().
|
inlinestatic |
Definition at line 578 of file components.hpp.
|
inlinestatic |
Definition at line 654 of file components.hpp.
|
inlinestatic |
Definition at line 584 of file components.hpp.
|
inlinestatic |
Definition at line 595 of file components.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 588 of file components.hpp.
References record().
|
inline |
|
inlinestatic |
Definition at line 643 of file components.hpp.
Referenced by get_unit(), and unit_array().
|
inlinestatic |