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::source_location::captured Struct Reference

#include "timemory/general/source_location.hpp"

+ Collaboration diagram for tim::source_location::captured:

Public Member Functions

const result_typeget () const
 
const std::string & get_id () const
 
const hash_value_tget_hash () const
 
 captured (result_type _result)
 

Friends

class source_location
 

Detailed Description

Definition at line 108 of file source_location.hpp.

Constructor & Destructor Documentation

◆ captured()

tim::source_location::captured::captured ( result_type  _result)
inlineexplicit

Definition at line 115 of file source_location.hpp.

116 : m_result(std::move(_result))
117 {}

Member Function Documentation

◆ get()

const result_type & tim::source_location::captured::get ( ) const
inline

Definition at line 111 of file source_location.hpp.

111{ return m_result; }

◆ get_hash()

const hash_value_t & tim::source_location::captured::get_hash ( ) const
inline

◆ get_id()

const std::string & tim::source_location::captured::get_id ( ) const
inline

Definition at line 112 of file source_location.hpp.

112{ return std::get<0>(m_result); }

Friends And Related Function Documentation

◆ source_location

friend class source_location
friend

Definition at line 122 of file source_location.hpp.


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