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.
tim::operation::set_started< T > Struct Template Reference

This operation attempts to call a member function which the component provides to internally store whether or not it is currently within a phase measurement (to prevent restarts) More...

#include "timemory/operations/types.hpp"

+ Collaboration diagram for tim::operation::set_started< T >:

Public Member Functions

template<typename Up >
auto operator() (Up &obj) const
 

Detailed Description

template<typename T>
struct tim::operation::set_started< T >

This operation attempts to call a member function which the component provides to internally store whether or not it is currently within a phase measurement (to prevent restarts)

Template Parameters
TComponent type

Definition at line 468 of file types.hpp.

Member Function Documentation

◆ operator()()

template<typename T >
template<typename Up >
auto tim::operation::set_started< T >::operator() ( Up &  obj) const
inline

Definition at line 473 of file types.hpp.

474 {
475 static_assert(!std::is_pointer<Up>::value,
476 "SFINAE tests will always fail with pointer types");
477 return sfinae(obj, 0);
478 }

The documentation for this struct was generated from the following file: