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/components/ompt/tool.hpp"
Public Types | |
using | api_type = Api |
using | type = Components |
using | result_type = std::shared_ptr< type > |
using | array_type = std::deque< result_type > |
using | map_type = std::unordered_map< size_t, array_type > |
using | handle_type = component::ompt_handle< api_type > |
Public Member Functions | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::begin_callback >::value, int > = 0> | |
callback_connector (T, Args... args) | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::end_callback >::value, int > = 0> | |
callback_connector (T, Args... args) | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::store_callback >::value, int > = 0> | |
callback_connector (T, Args... args) | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::endpoint_callback >::value, int > = 0> | |
callback_connector (T, ompt_scope_endpoint_t endp, Args... args) | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::endpoint_callback >::value, int > = 0> | |
callback_connector (T, ompt_work_t workv, ompt_scope_endpoint_t endp, Args... args) | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::endpoint_callback >::value, int > = 0> | |
callback_connector (T, ompt_sync_region_t syncv, ompt_scope_endpoint_t endp, Args... args) | |
template<typename T , typename... Args, enable_if_t< std::is_same< T, mode::endpoint_callback >::value, int > = 0> | |
callback_connector (T, ompt_target_t targv, ompt_scope_endpoint_t endp, Args... args) | |
Static Public Member Functions | |
static bool | is_enabled () |
Protected Member Functions | |
template<typename T , typename Arg , typename... Args, enable_if_t< std::is_same< T, mode::endpoint_callback >::value, int > = 0> | |
void | generic_endpoint_connector (T, Arg arg, ompt_scope_endpoint_t endp, Args... args) |
using tim::openmp::callback_connector< Components, Api >::api_type = Api |
using tim::openmp::callback_connector< Components, Api >::array_type = std::deque<result_type> |
using tim::openmp::callback_connector< Components, Api >::handle_type = component::ompt_handle<api_type> |
using tim::openmp::callback_connector< Components, Api >::map_type = std::unordered_map<size_t, array_type> |
using tim::openmp::callback_connector< Components, Api >::result_type = std::shared_ptr<type> |
using tim::openmp::callback_connector< Components, Api >::type = Components |
tim::openmp::callback_connector< Components, Api >::callback_connector | ( | T | , |
Args... | args | ||
) |
Definition at line 734 of file tool.hpp.
References tim::openmp::context_handler< Api >::empty(), and tim::openmp::context_handler< Api >::m_key.
tim::openmp::callback_connector< Components, Api >::callback_connector | ( | T | , |
Args... | args | ||
) |
tim::openmp::callback_connector< Components, Api >::callback_connector | ( | T | , |
Args... | args | ||
) |
tim::openmp::callback_connector< Components, Api >::callback_connector | ( | T | , |
ompt_scope_endpoint_t | endp, | ||
Args... | args | ||
) |
Definition at line 794 of file tool.hpp.
References tim::openmp::context_handler< Api >::empty(), and tim::openmp::context_handler< Api >::m_key.
|
inline |
Definition at line 690 of file tool.hpp.
References tim::openmp::callback_connector< Components, Api >::generic_endpoint_connector(), and tim::openmp::callback_connector< Components, Api >::is_enabled().
|
inline |
Definition at line 699 of file tool.hpp.
References tim::openmp::callback_connector< Components, Api >::generic_endpoint_connector(), and tim::openmp::callback_connector< Components, Api >::is_enabled().
|
inline |
Definition at line 709 of file tool.hpp.
References tim::openmp::callback_connector< Components, Api >::generic_endpoint_connector(), and tim::openmp::callback_connector< Components, Api >::is_enabled().
|
protected |
Definition at line 816 of file tool.hpp.
References tim::openmp::context_handler< Api >::empty(), and tim::openmp::context_handler< Api >::m_key.
Referenced by tim::openmp::callback_connector< Components, Api >::callback_connector().
|
inlinestatic |
Definition at line 655 of file tool.hpp.
References DEBUG_PRINT_HERE, tim::manager::instance(), and tim::trait::runtime_enabled< T >::set().
Referenced by tim::openmp::callback_connector< Components, Api >::callback_connector().