ARTS 2.5.11 (git: 725533f0)
Timer Struct Reference

#include <timer_struct.h>

Public Attributes

bool running {false}
 
bool finished {false}
 
std::clock_t cputime_start
 
std::chrono::time_point< std::chrono::high_resolution_clock > realtime_start
 
std::clock_t cputime_end
 
std::chrono::time_point< std::chrono::high_resolution_clock > realtime_end
 

Friends

std::ostream & operator<< (std::ostream &os, const Timer &)
 

Detailed Description

Definition at line 6 of file timer_struct.h.

Friends And Related Symbol Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const Timer  
)
friend

Definition at line 14 of file timer_struct.h.

Member Data Documentation

◆ cputime_end

std::clock_t Timer::cputime_end

Definition at line 11 of file timer_struct.h.

Referenced by Print(), and timerStop().

◆ cputime_start

std::clock_t Timer::cputime_start

Definition at line 9 of file timer_struct.h.

Referenced by Print(), and timerStart().

◆ finished

bool Timer::finished {false}

Definition at line 8 of file timer_struct.h.

Referenced by Print(), timerStart(), and timerStop().

◆ realtime_end

std::chrono::time_point<std::chrono::high_resolution_clock> Timer::realtime_end

Definition at line 12 of file timer_struct.h.

Referenced by Print(), and timerStop().

◆ realtime_start

std::chrono::time_point<std::chrono::high_resolution_clock> Timer::realtime_start

Definition at line 10 of file timer_struct.h.

Referenced by Print(), and timerStart().

◆ running

bool Timer::running {false}

Definition at line 7 of file timer_struct.h.

Referenced by timerStart(), and timerStop().


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