SIRIUS 7.5.0
Electronic structure library and applications
Public Member Functions | Private Attributes | List of all members
rt_graph::ScopedTiming Class Reference

Public Member Functions

template<std::size_t N>
 ScopedTiming (const char(&identifierPtr)[N], Timer &timer)
 
 ScopedTiming (std::string identifier, Timer &timer)
 
 ScopedTiming (const ScopedTiming &)=delete
 
 ScopedTiming (ScopedTiming &&)=delete
 
auto operator= (const ScopedTiming &) -> ScopedTiming &=delete
 
auto operator= (ScopedTiming &&) -> ScopedTiming &=delete
 

Private Attributes

const char * identifierPtr_
 
std::string identifier_
 
Timertimer_
 

Detailed Description

Definition at line 193 of file rt_graph.hpp.

Constructor & Destructor Documentation

◆ ScopedTiming() [1/2]

template<std::size_t N>
rt_graph::ScopedTiming::ScopedTiming ( const char(&)  identifierPtr[N],
Timer timer 
)
inline

Definition at line 197 of file rt_graph.hpp.

◆ ScopedTiming() [2/2]

rt_graph::ScopedTiming::ScopedTiming ( std::string  identifier,
Timer timer 
)
inline

Definition at line 202 of file rt_graph.hpp.

◆ ~ScopedTiming()

rt_graph::ScopedTiming::~ScopedTiming ( )
inline

Definition at line 212 of file rt_graph.hpp.

Member Data Documentation

◆ identifierPtr_

const char* rt_graph::ScopedTiming::identifierPtr_
private

Definition at line 221 of file rt_graph.hpp.

◆ identifier_

std::string rt_graph::ScopedTiming::identifier_
private

Definition at line 222 of file rt_graph.hpp.

◆ timer_

Timer& rt_graph::ScopedTiming::timer_
private

Definition at line 223 of file rt_graph.hpp.


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