#include "timemory/components/opaque/types.hpp"
|
| template<typename InitF , typename StartF , typename StopF , typename GetF , typename DelF , typename SetupF , typename PushF , typename PopF , typename SampleF , typename UpdateStatsF > |
| | opaque (bool _valid, size_t _typeid, InitF &&_init, StartF &&_start, StopF &&_stop, GetF &&_get, DelF &&_del, SetupF &&_setup, PushF &&_push, PopF &&_pop, SampleF &&_sample, UpdateStatsF &&_stats) |
| |
| | opaque ()=default |
| |
| | ~opaque () |
| |
| | opaque (const opaque &)=default |
| |
| | opaque (opaque &&)=default |
| |
| opaque & | operator= (const opaque &)=default |
| |
| opaque & | operator= (opaque &&)=default |
| |
| | operator bool () const |
| |
| void | init () const |
| |
| void | setup (string_view_cref_t _prefix, scope::config _scope) |
| |
| void | push (string_view_cref_t _prefix, scope::config _scope) |
| |
| void | sample () const |
| |
| void | start () const |
| |
| void | stop () const |
| |
| void | pop () const |
| |
| void | cleanup () |
| |
| void | get (void *&ptr, size_t _hash) const |
| |
| void | update_statistics (bool) const |
| |
| void | set_copy (bool val) |
| |
Definition at line 45 of file types.hpp.
◆ delete_func_t
◆ get_func_t
◆ init_func_t
◆ pop_func_t
◆ push_func_t
◆ sample_func_t
◆ setup_func_t
◆ start_func_t
◆ stats_func_t
◆ stop_func_t
◆ opaque() [1/4]
| tim::component::opaque::opaque |
( |
bool |
_valid, |
|
|
size_t |
_typeid, |
|
|
InitF && |
_init, |
|
|
StartF && |
_start, |
|
|
StopF && |
_stop, |
|
|
GetF && |
_get, |
|
|
DelF && |
_del, |
|
|
SetupF && |
_setup, |
|
|
PushF && |
_push, |
|
|
PopF && |
_pop, |
|
|
SampleF && |
_sample, |
|
|
UpdateStatsF && |
_stats |
|
) |
| |
◆ opaque() [2/4]
| tim::component::opaque::opaque |
( |
| ) |
|
|
default |
◆ ~opaque()
| tim::component::opaque::~opaque |
( |
| ) |
|
|
inline |
◆ opaque() [3/4]
| tim::component::opaque::opaque |
( |
const opaque & |
| ) |
|
|
default |
◆ opaque() [4/4]
| tim::component::opaque::opaque |
( |
opaque && |
| ) |
|
|
default |
◆ cleanup()
| void tim::component::opaque::cleanup |
( |
| ) |
|
|
inline |
◆ get()
| void tim::component::opaque::get |
( |
void *& |
ptr, |
|
|
size_t |
_hash |
|
) |
| const |
|
inline |
◆ init()
| void tim::component::opaque::init |
( |
| ) |
const |
|
inline |
◆ operator bool()
| tim::component::opaque::operator bool |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
| opaque & tim::component::opaque::operator= |
( |
const opaque & |
| ) |
|
|
default |
◆ operator=() [2/2]
◆ pop()
| void tim::component::opaque::pop |
( |
| ) |
const |
|
inline |
◆ push()
◆ sample()
| void tim::component::opaque::sample |
( |
| ) |
const |
|
inline |
◆ set_copy()
| void tim::component::opaque::set_copy |
( |
bool |
val | ) |
|
|
inline |
◆ setup()
◆ start()
| void tim::component::opaque::start |
( |
| ) |
const |
|
inline |
◆ stop()
| void tim::component::opaque::stop |
( |
| ) |
const |
|
inline |
◆ update_statistics()
| void tim::component::opaque::update_statistics |
( |
bool |
_v | ) |
const |
|
inline |
◆ m_copy
| bool tim::component::opaque::m_copy = false |
◆ m_data
| void* tim::component::opaque::m_data = nullptr |
◆ m_del
◆ m_get
| get_func_t tim::component::opaque::m_get = [](void*, void*&, size_t) {} |
◆ m_init
◆ m_pop
| pop_func_t tim::component::opaque::m_pop = [](void*) {} |
◆ m_push
◆ m_sample
◆ m_setup
Initial value:
return nullptr;
}
const std::string & string_view_cref_t
Definition at line 91 of file types.hpp.
Referenced by setup().
◆ m_start
◆ m_stop
| stop_func_t tim::component::opaque::m_stop = [](void*) {} |
◆ m_typeid
| size_t tim::component::opaque::m_typeid = 0 |
◆ m_update_stats
| stats_func_t tim::component::opaque::m_update_stats = [](void*, bool) {} |
◆ m_valid
| bool tim::component::opaque::m_valid = false |
The documentation for this struct was generated from the following files: