|
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.
|
Call the set_prefix member function. These instantiations are always inlined because of the use of string_view. Without inlining, you will get undefined symbols in C++14 code when timemory was compiled with C++17. More...
#include "timemory/operations/types/set.hpp"
Collaboration diagram for tim::operation::set_prefix< Tp >:Public Types | |
| using | type = Tp |
| using | string_t = string_view_t |
Public Member Functions | |
| set_prefix (type &obj, const string_t &_prefix) | |
| set_prefix (type &obj, hash_value_t _nhash, const string_t &_prefix) | |
| auto | operator() (type &obj, const string_t &_prefix) const |
| auto | operator() (type &obj, hash_value_t _nhash) const |
Call the set_prefix member function. These instantiations are always inlined because of the use of string_view. Without inlining, you will get undefined symbols in C++14 code when timemory was compiled with C++17.
| Tp | Component type |
| using tim::operation::set_prefix< Tp >::string_t = string_view_t |
| using tim::operation::set_prefix< Tp >::type = Tp |
| tim::operation::set_prefix< Tp >::set_prefix | ( | type & | obj, |
| const string_t & | _prefix | ||
| ) |
| tim::operation::set_prefix< Tp >::set_prefix | ( | type & | obj, |
| hash_value_t | _nhash, | ||
| const string_t & | _prefix | ||
| ) |
Definition at line 132 of file set.hpp.
References tim::_prefix.
|
inline |
Definition at line 68 of file set.hpp.
References tim::_prefix.
|
inline |