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.
|
I/O counter for bytes written. Attempt to count the number of bytes which this process caused to be sent to the storage layer. This is done at page-dirtying time. More...
#include "timemory/components/io/components.hpp"
Public Types | |
using | this_type = written_bytes |
using | value_type = std::array< int64_t, 2 > |
using | base_type = base< this_type, value_type > |
using | result_type = std::array< double, 2 > |
using | unit_type = typename trait::units< this_type >::type |
using | display_unit_type = typename trait::units< this_type >::display_type |
Public Member Functions | |
std::string | get_display () const |
result_type | get () 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 result_type | unit () |
static std::vector< std::string > | display_unit_array () |
static std::vector< std::string > | label_array () |
static display_unit_type | display_unit () |
static std::array< double, 2 > | unit_array () |
static std::vector< std::string > | description_array () |
static auto | get_timestamp () |
static value_type | record () |
static auto | get_timing_unit () |
static unit_type | get_unit () |
static display_unit_type | get_display_unit () |
static value_type | record (const cache_type &_cache) |
read the value from the cache More... | |
I/O counter for bytes written. Attempt to count the number of bytes which this process caused to be sent to the storage layer. This is done at page-dirtying time.
Definition at line 669 of file components.hpp.
Definition at line 673 of file components.hpp.
using tim::component::written_bytes::display_unit_type = typename trait::units<this_type>::display_type |
Definition at line 676 of file components.hpp.
using tim::component::written_bytes::result_type = std::array<double, 2> |
Definition at line 674 of file components.hpp.
Definition at line 671 of file components.hpp.
using tim::component::written_bytes::unit_type = typename trait::units<this_type>::type |
Definition at line 675 of file components.hpp.
using tim::component::written_bytes::value_type = std::array<int64_t, 2> |
Definition at line 672 of file components.hpp.
|
inlinestatic |
Definition at line 679 of file components.hpp.
|
inlinestatic |
Definition at line 708 of file components.hpp.
|
inlinestatic |
Definition at line 701 of file components.hpp.
|
inlinestatic |
Definition at line 690 of file components.hpp.
References tim::component::read_char::get_display_unit().
|
inline |
Definition at line 756 of file components.hpp.
References tim::component::read_char::get_timing_unit(), tim::component::read_char::get_unit(), tim::isfinite(), tim::component::base< read_char, std::pair< int64_t, int64_t > >::laps, and tim::component::base< Tp, Value >::load().
|
inline |
Definition at line 729 of file components.hpp.
References tim::component::read_char::get(), tim::component::read_char::get_display_unit(), tim::component::base< Tp, Value >::get_format_flags(), tim::component::base< Tp, Value >::get_precision(), and tim::component::base< Tp, Value >::get_width().
|
inlinestatic |
Definition at line 815 of file components.hpp.
References tim::component::read_char::display_unit(), tim::units::get_memory_unit(), tim::units::get_timing_unit(), tim::mpl::apply< Ret >::join(), tim::memory_units, and tim::timing_units.
|
inlinestatic |
Definition at line 714 of file components.hpp.
|
inlinestatic |
Definition at line 721 of file components.hpp.
References tim::units::get_timing_unit(), and tim::timing_units.
|
inlinestatic |
Definition at line 792 of file components.hpp.
References tim::units::get_memory_unit(), tim::units::get_timing_unit(), tim::memory_units, tim::timing_units, and tim::component::read_char::unit().
|
inlinestatic |
Definition at line 678 of file components.hpp.
|
inlinestatic |
|
inlinestatic |
Definition at line 716 of file components.hpp.
References tim::component::read_char::get_timestamp().
|
inlinestatic |
read the value from the cache
Definition at line 852 of file components.hpp.
References tim::component::read_char::get_timestamp().
|
inline |
sample a measurement
Definition at line 838 of file components.hpp.
|
inline |
sample a measurement from cached data
Definition at line 845 of file components.hpp.
|
inline |
|
inline |
start a measurement using the cached data
Definition at line 858 of file components.hpp.
References tim::component::read_char::record().
|
inline |
Definition at line 784 of file components.hpp.
References tim::math::abs, and tim::component::read_char::record().
|
inline |
stop a measurement using the cached data
Definition at line 861 of file components.hpp.
References tim::math::abs, and tim::component::read_char::record().
|
inlinestatic |
Definition at line 684 of file components.hpp.
|
inlinestatic |