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.
|
#include "timemory/operations/types.hpp"
Public Types | |
using | this_type = print |
using | stream_type = std::shared_ptr< utility::stream > |
using | settings_t = std::shared_ptr< settings > |
Public Member Functions | |
template<typename... Args> | |
print (Args &&...) | |
virtual void | setup ()=0 |
virtual void | execute ()=0 |
virtual void | read_json ()=0 |
virtual void | print_dart ()=0 |
virtual void | update_data ()=0 |
virtual void | print_custom ()=0 |
virtual void | write (std::ostream &os, stream_type stream) |
virtual void | print_cout (stream_type stream) |
virtual void | print_text (const std::string &fname, stream_type stream) |
virtual void | print_plot (const std::string &fname, std::string suffix) |
auto | get_label () const |
auto | get_text_output_name () const |
auto | get_tree_output_name () const |
auto | get_json_output_name () const |
auto | get_json_input_name () const |
auto | get_text_diff_name () const |
auto | get_json_diff_name () const |
void | set_debug (bool v) |
void | set_update (bool v) |
void | set_verbose (int32_t v) |
void | set_max_call_stack (int64_t v) |
int64_t | get_max_depth () const |
bool | dart_output () |
bool | file_output () |
bool | cout_output () |
bool | tree_output () |
bool | json_output () |
bool | text_output () |
bool | plot_output () |
bool | flame_output () |
Protected Attributes | |
settings_t | m_settings = settings::shared_instance() |
bool | debug = false |
bool | update = true |
bool | json_forced = false |
bool | node_init = dmp::is_initialized() |
int32_t | node_rank = dmp::rank() |
int32_t | node_size = dmp::size() |
int32_t | verbose = 0 |
int64_t | max_depth = 0 |
int64_t | max_call_stack = std::numeric_limits<int64_t>::max() |
std::string | label = "" |
std::string | description = "" |
std::string | text_outfname = "" |
std::string | tree_outfname = "" |
std::string | json_outfname = "" |
std::string | json_inpfname = "" |
std::string | text_diffname = "" |
std::string | json_diffname = "" |
stream_type | data_stream = stream_type{} |
stream_type | diff_stream = stream_type{} |
|
inherited |
|
inherited |
|
inherited |
|
inline |
|
inlineinherited |
Definition at line 1255 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
inlineinherited |
Definition at line 1237 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
pure virtualinherited |
Implemented in tim::operation::finalize::print< Tp, true >.
|
inlineinherited |
Definition at line 1246 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
inlineinherited |
Definition at line 1303 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
inlineinherited |
Definition at line 1223 of file types.hpp.
References tim::operation::finalize::base::print::json_diffname.
|
inlineinherited |
Definition at line 1221 of file types.hpp.
References tim::operation::finalize::base::print::json_inpfname.
|
inlineinherited |
Definition at line 1220 of file types.hpp.
References tim::operation::finalize::base::print::json_outfname.
|
inlineinherited |
|
inlineinherited |
Definition at line 1230 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, tim::operation::finalize::base::print::max_call_stack, and tim::operation::finalize::base::print::max_depth.
|
inlineinherited |
Definition at line 1222 of file types.hpp.
References tim::operation::finalize::base::print::text_diffname.
|
inlineinherited |
Definition at line 1218 of file types.hpp.
References tim::operation::finalize::base::print::text_outfname.
|
inlineinherited |
Definition at line 1219 of file types.hpp.
References tim::operation::finalize::base::print::tree_outfname.
|
inlineinherited |
Definition at line 1274 of file types.hpp.
References tim::operation::finalize::base::print::json_forced, tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
inlineinherited |
Definition at line 1293 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
virtualinherited |
|
pure virtualinherited |
Implemented in tim::operation::finalize::print< Tp, true >.
|
pure virtualinherited |
Implemented in tim::operation::finalize::print< Tp, true >.
|
virtualinherited |
|
virtualinherited |
|
pure virtualinherited |
Implemented in tim::operation::finalize::print< Tp, true >.
|
inlineinherited |
|
inlineinherited |
Definition at line 1228 of file types.hpp.
References tim::operation::finalize::base::print::max_call_stack.
|
inlineinherited |
Definition at line 1226 of file types.hpp.
References tim::operation::finalize::base::print::update.
|
inlineinherited |
Definition at line 1227 of file types.hpp.
References tim::operation::finalize::base::print::verbose.
|
pure virtualinherited |
Implemented in tim::operation::finalize::print< Tp, true >.
|
inlineinherited |
Definition at line 1284 of file types.hpp.
References tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
inlineinherited |
Definition at line 1264 of file types.hpp.
References tim::operation::finalize::base::print::json_forced, tim::operation::finalize::base::print::m_settings, and PRINT_HERE.
|
pure virtualinherited |
Implemented in tim::operation::finalize::print< Tp, true >.
|
virtualinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 1316 of file types.hpp.
Referenced by tim::operation::finalize::base::print::print(), and tim::operation::finalize::base::print::set_debug().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
Definition at line 1332 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_json_diff_name().
|
protectedinherited |
Definition at line 1318 of file types.hpp.
Referenced by tim::operation::finalize::base::print::json_output(), and tim::operation::finalize::base::print::tree_output().
|
protectedinherited |
Definition at line 1330 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_json_input_name().
|
protectedinherited |
Definition at line 1329 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_json_output_name().
|
protectedinherited |
Definition at line 1325 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_label(), and tim::operation::finalize::TIMEMORY_OPERATIONS_LINKAGE().
|
protectedinherited |
Definition at line 1315 of file types.hpp.
Referenced by tim::operation::finalize::base::print::print(), tim::operation::finalize::base::print::cout_output(), tim::operation::finalize::base::print::dart_output(), tim::operation::finalize::base::print::file_output(), tim::operation::finalize::base::print::flame_output(), tim::operation::finalize::base::print::get_max_depth(), tim::operation::finalize::base::print::json_output(), tim::operation::finalize::base::print::plot_output(), tim::operation::finalize::base::print::text_output(), tim::operation::finalize::TIMEMORY_OPERATIONS_LINKAGE(), and tim::operation::finalize::base::print::tree_output().
|
protectedinherited |
Definition at line 1324 of file types.hpp.
Referenced by tim::operation::finalize::base::print::print(), tim::operation::finalize::base::print::get_max_depth(), and tim::operation::finalize::base::print::set_max_call_stack().
|
protectedinherited |
Definition at line 1323 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_max_depth().
|
protectedinherited |
|
protectedinherited |
Definition at line 1320 of file types.hpp.
Referenced by tim::operation::finalize::TIMEMORY_OPERATIONS_LINKAGE().
|
protectedinherited |
|
protectedinherited |
Definition at line 1331 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_text_diff_name().
|
protectedinherited |
Definition at line 1327 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_text_output_name().
|
protectedinherited |
Definition at line 1328 of file types.hpp.
Referenced by tim::operation::finalize::base::print::get_tree_output_name().
|
protectedinherited |
Definition at line 1317 of file types.hpp.
Referenced by tim::operation::finalize::base::print::set_update().
|
protectedinherited |
Definition at line 1322 of file types.hpp.
Referenced by tim::operation::finalize::base::print::print(), and tim::operation::finalize::base::print::set_verbose().