ARTS 2.5.11 (git: 725533f0)
DebugTime Struct Reference

Used to debug execution time, prints msg+time on destruction to std::cerr. More...

#include <artstime.h>

Public Member Functions

 DebugTime (const std::string_view s="Time")
 
 ~DebugTime ()
 

Public Attributes

Time start {}
 
std::string_view msg
 

Detailed Description

Used to debug execution time, prints msg+time on destruction to std::cerr.

Definition at line 208 of file artstime.h.

Constructor & Destructor Documentation

◆ DebugTime()

DebugTime::DebugTime ( const std::string_view  s = "Time")
inline

Definition at line 211 of file artstime.h.

◆ ~DebugTime()

DebugTime::~DebugTime ( )
inline

Definition at line 212 of file artstime.h.

References msg, and start.

Member Data Documentation

◆ msg

std::string_view DebugTime::msg

Definition at line 210 of file artstime.h.

Referenced by ~DebugTime().

◆ start

Time DebugTime::start {}

Definition at line 209 of file artstime.h.

Referenced by ~DebugTime().


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