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.
|
This operation class is used for sampling. More...
#include "timemory/operations/types/sample.hpp"
Public Types | |
using | type = Tp |
Public Member Functions | |
TIMEMORY_DELETED_OBJECT (sample) explicit sample(type &obj) | |
template<typename Arg , typename... Args> | |
sample (type &obj, Arg &&arg, Args &&... args) | |
template<typename... Args> | |
auto | operator() (type &obj, Args &&... args) |
template<typename Tp > | |
sample (Tp &obj) | |
Static Public Attributes | |
static constexpr bool | enable = trait::sampler<Tp>::value |
This operation class is used for sampling.
Definition at line 51 of file sample.hpp.
using tim::operation::sample< Tp >::type = Tp |
Definition at line 54 of file sample.hpp.
tim::operation::sample< Tp >::sample | ( | type & | obj, |
Arg && | arg, | ||
Args &&... | args | ||
) |
Definition at line 106 of file sample.hpp.
Definition at line 97 of file sample.hpp.
|
inline |
Definition at line 64 of file sample.hpp.
tim::operation::sample< Tp >::TIMEMORY_DELETED_OBJECT | ( | sample< Tp > | ) | & |
|
staticconstexpr |
Definition at line 53 of file sample.hpp.