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

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

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

Public Types

using type = Tp
 

Public Member Functions

 set_scope (type &obj, scope::config _data)
 
auto operator() (type &obj, scope::config _data) const
 

Detailed Description

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

Definition at line 145 of file set.hpp.

Member Typedef Documentation

◆ type

template<typename Tp >
using tim::operation::set_scope< Tp >::type = Tp

Definition at line 147 of file set.hpp.

Constructor & Destructor Documentation

◆ set_scope()

template<typename Tp >
tim::operation::set_scope< Tp >::set_scope ( type obj,
scope::config  _data 
)

Definition at line 176 of file set.hpp.

177{
178 sfinae(obj, 0, _data);
179}

Member Function Documentation

◆ operator()()

template<typename Tp >
auto tim::operation::set_scope< Tp >::operator() ( type obj,
scope::config  _data 
) const
inline

Definition at line 153 of file set.hpp.

154 {
155 return sfinae(obj, 0, _data);
156 }

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