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::finalize::ctest_notes< manager > Struct Reference

#include "timemory/operations/types/finalize/ctest_notes.hpp"

+ Collaboration diagram for tim::operation::finalize::ctest_notes< manager >:

Public Types

using strset_t = std::set< std::string >
 
using notes_ptr_t = std::unique_ptr< strset_t, ctest_notes_deleter >
 

Public Member Functions

 ctest_notes (std::string &&fname)
 
 ctest_notes (strset_t &&fnames)
 

Static Public Member Functions

static notes_ptr_tget_notes ()
 

Detailed Description

Definition at line 102 of file ctest_notes.hpp.

Member Typedef Documentation

◆ notes_ptr_t

◆ strset_t

using tim::operation::finalize::ctest_notes< manager >::strset_t = std::set<std::string>

Definition at line 104 of file ctest_notes.hpp.

Constructor & Destructor Documentation

◆ ctest_notes() [1/2]

tim::operation::finalize::ctest_notes< manager >::ctest_notes ( std::string &&  fname)
inline

Definition at line 113 of file ctest_notes.hpp.

114 {
115 get_notes()->insert(std::forward<std::string>(fname));
116 }

References tim::operation::finalize::ctest_notes< Type >::get_notes().

◆ ctest_notes() [2/2]

Definition at line 118 of file ctest_notes.hpp.

119 {
120 for(auto&& itr : fnames)
121 get_notes()->insert(itr);
122 }

References tim::operation::finalize::ctest_notes< Type >::get_notes().

Member Function Documentation

◆ get_notes()

static notes_ptr_t & tim::operation::finalize::ctest_notes< manager >::get_notes ( )
inlinestatic

Definition at line 107 of file ctest_notes.hpp.

108 {
109 static auto _instance = notes_ptr_t(new strset_t);
110 return _instance;
111 }
std::unique_ptr< strset_t, ctest_notes_deleter > notes_ptr_t

Referenced by tim::operation::finalize::ctest_notes< Type >::get_notes().


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