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_is_running< Tp > Struct Template Reference

This operation attempts to call a member function which sets whether or not the component is currently collecting. More...

#include "timemory/operations/types/set.hpp"

+ Collaboration diagram for tim::operation::set_is_running< Tp >:

Public Member Functions

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

Detailed Description

template<typename Tp>
struct tim::operation::set_is_running< Tp >

This operation attempts to call a member function which sets whether or not the component is currently collecting.

Template Parameters
TComponent type

Definition at line 569 of file types.hpp.

Member Function Documentation

◆ operator()()

template<typename Tp >
template<typename Up >
auto tim::operation::set_is_running< Tp >::operator() ( Up &  obj,
bool  v 
) const
inline

Definition at line 414 of file set.hpp.

415 {
416 static_assert(!std::is_pointer<Up>::value,
417 "SFINAE tests will always fail with pointer types");
418 return sfinae(obj, 0, v);
419 }

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