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/ert/configuration.hpp"
Public Types | |
using | DeviceT = device::gpu |
using | device_type = device::gpu |
using | value_type = Tp |
using | configuration_type = configuration< device_type, value_type, CounterT > |
using | counter_type = counter< device_type, value_type, CounterT > |
using | this_type = executor< device_type, value_type, CounterT > |
using | callback_type = std::function< void(counter_type &)> |
using | ert_data_t = exec_data< CounterT > |
Public Member Functions | |
executor (configuration_type &config, std::shared_ptr< ert_data_t > _data) | |
template<typename FuncT > | |
executor (configuration_type &config, std::shared_ptr< ert_data_t > _data, FuncT &&_counter_callback) | |
template<typename FuncT = std::function<void(uint64_t, counter_type&)>> | |
auto | operator() (configuration_type &config, std::shared_ptr< ert_data_t > _data={}, FuncT &&_counter_callback=FuncT{}) |
Static Public Member Functions | |
static callback_type & | get_callback () |
static void | execute (counter_type &_counter) |
template<size_t... Flops, enable_if_t<(sizeof...(Flops) > 0)> = 0> | |
static bool | execute (counter_type &_counter, std::array< std::string, sizeof...(Flops)> _labels) |
template<size_t Flops> | |
static enable_if_t< Flops==1, bool > | execute_impl (counter_type &_counter, const std::string &_label) |
template<size_t Flops> | |
static enable_if_t<(Flops > 1), bool > | execute_impl (counter_type &_counter, const std::string &_label) |
Public Attributes | |
callback_type | callback = get_callback() |
Definition at line 447 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::callback_type = std::function<void(counter_type&)> |
Definition at line 461 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::configuration_type = configuration<device_type, value_type, CounterT> |
Definition at line 458 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::counter_type = counter<device_type, value_type, CounterT> |
Definition at line 459 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::device_type = device::gpu |
Definition at line 456 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::DeviceT = device::gpu |
Definition at line 449 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::ert_data_t = exec_data<CounterT> |
Definition at line 462 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::this_type = executor<device_type, value_type, CounterT> |
Definition at line 460 of file configuration.hpp.
using tim::ert::executor< device::gpu, Tp, CounterT >::value_type = Tp |
Definition at line 457 of file configuration.hpp.
|
inline |
Definition at line 470 of file configuration.hpp.
|
inline |
Definition at line 479 of file configuration.hpp.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Definition at line 518 of file configuration.hpp.
References tim::ert::executor< DeviceT, Tp, CounterT >::execute().
|
inline |
Definition at line 489 of file configuration.hpp.
callback_type tim::ert::executor< device::gpu, Tp, CounterT >::callback = get_callback() |
Definition at line 513 of file configuration.hpp.