ARTS 2.5.9 (git: 825fa5f2)
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 226 of file artstime.h.

Constructor & Destructor Documentation

◆ DebugTime()

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

Definition at line 229 of file artstime.h.

◆ ~DebugTime()

DebugTime::~DebugTime ( )
inline

Definition at line 230 of file artstime.h.

References msg, and start.

Member Data Documentation

◆ msg

std::string_view DebugTime::msg

Definition at line 228 of file artstime.h.

Referenced by ~DebugTime().

◆ start

Time DebugTime::start {}

Definition at line 227 of file artstime.h.

Referenced by ~DebugTime().


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