|
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.
|
Namespaces | |
| namespace | operation |
Typedefs | |
| using | string_t = std::string |
| using | attributes_t = std::map< string_t, string_t > |
Functions | |
| void | plot (const std::string &_label, const std::string &_prefix, const std::string &_dir, bool _echo_dart, const std::string &_json_file) |
| void | echo_dart_file (const string_t &filepath, attributes_t attributes) |
| template<typename... Types> | |
| std::enable_if_t<(sizeof...(Types) > 0), void > | plot (std::string _prefix="", const std::string &_dir=settings::output_path(), bool _echo_dart=settings::dart_output(), std::string _json_file="") |
| template<typename... Types> | |
| std::enable_if_t<(sizeof...(Types) > 0), void > | plot (const string_t &_prefix, const string_t &_dir, bool _echo_dart, const string_t &_json_file) |
| TIMEMORY_PLOTTING_LINKAGE (void) plot(const string_t &_label | |
| if (settings::debug()||settings::verbose() > 2) PRINT_HERE("%s" | |
| if (settings::python_exe().empty()) | |
| ifs | close () |
| if (!exists) | |
| if (_plot.length() > 0) return | |
| if (_echo_dart) cmd+ | |
Variables | |
| const string_t & | _prefix |
| const string_t const string_t & | _dir |
| const string_t const string_t bool | _echo_dart |
| const string_t const string_t bool const string_t & | _json_file |
| auto | _info = TIMEMORY_LABEL("") |
| const auto & | _file = _json_file |
| bool | exists = ifs.good() |
| auto | _ctor = get_env<std::string>("TIMEMORY_LIBRARY_CTOR", "") |
| auto | _bann = get_env<std::string>("TIMEMORY_BANNER", "") |
| auto | _plot = get_env<std::string>("TIMEMORY_CXX_PLOT_MODE", "") |
| auto | cmd |
| using tim::plotting::attributes_t = typedef std::map<string_t, string_t> |
| using tim::plotting::string_t = typedef std::string |
| ifs tim::plotting::close | ( | ) |
Referenced by tim::base::ring_buffer::destroy(), and tim::popen::popen().
|
inline |
Definition at line 162 of file declaration.hpp.
References tim::plotting::operation::join().
| tim::plotting::if | ( | ! | exists | ) |
| tim::plotting::if | ( | _echo_dart | ) |
| tim::plotting::if | ( | _plot. | length(), |
| 0 | |||
| ) |
| tim::plotting::if | ( | settings::debug()||settings::verbose() | , |
| 2 | |||
| ) |
| tim::plotting::if | ( | settings::python_exe().empty() | ) |
Definition at line 60 of file definition.hpp.
| void tim::plotting::plot | ( | const std::string & | _label, |
| const std::string & | _prefix, | ||
| const std::string & | _dir, | ||
| bool | _echo_dart, | ||
| const std::string & | _json_file | ||
| ) |
Referenced by tim::operation::finalize::TIMEMORY_OPERATIONS_LINKAGE().
| std::enable_if_t<(sizeof...(Types) > 0), void > tim::plotting::plot | ( | const string_t & | _prefix, |
| const string_t & | _dir, | ||
| bool | _echo_dart, | ||
| const string_t & | _json_file | ||
| ) |
Definition at line 153 of file declaration.hpp.
| std::enable_if_t<(sizeof...(Types) > 0), void > tim::plotting::plot | ( | std::string | _prefix = "", |
| const std::string & | _dir = settings::output_path(), |
||
| bool | _echo_dart = settings::dart_output(), |
||
| std::string | _json_file = "" |
||
| ) |
| tim::plotting::TIMEMORY_PLOTTING_LINKAGE | ( | void | ) | const & |
| auto tim::plotting::_bann = get_env<std::string>("TIMEMORY_BANNER", "") |
Definition at line 87 of file definition.hpp.
| auto tim::plotting::_ctor = get_env<std::string>("TIMEMORY_LIBRARY_CTOR", "") |
Definition at line 86 of file definition.hpp.
Definition at line 52 of file definition.hpp.
Referenced by tim::settings::get_global_input_prefix(), tim::settings::get_global_output_prefix(), tim::makedir(), tim::filepath::makedir(), and tim::plotting::operation::plot().
Definition at line 53 of file definition.hpp.
Referenced by tim::plotting::operation::plot().
| const auto& tim::plotting::_file = _json_file |
Definition at line 72 of file definition.hpp.
Referenced by tim::base::storage::add_file_output(), tim::base::storage::add_json_output(), tim::base::storage::add_text_output(), c_timemory_label(), if(), and timemory_print_here().
| auto tim::plotting::_info = TIMEMORY_LABEL("") |
Definition at line 70 of file definition.hpp.
Referenced by tim::component::gotcha< Nt, BundleT, DiffT >::get_info().
Definition at line 53 of file definition.hpp.
Referenced by tim::plotting::operation::plot().
| auto tim::plotting::_plot = get_env<std::string>("TIMEMORY_CXX_PLOT_MODE", "") |
Definition at line 88 of file definition.hpp.
| const string_t& tim::plotting::_prefix |
Definition at line 52 of file definition.hpp.
Referenced by tim::plotting::operation::plot().
| auto tim::plotting::cmd |
Definition at line 97 of file definition.hpp.
Referenced by tim::argparse::argument_vector::get_execv(), tim::if(), and timemory_trace_init().
| bool tim::plotting::exists = ifs.good() |
Definition at line 75 of file definition.hpp.