OGS
BaseLib::RunTime Class Reference

Detailed Description

Count the running time.

Definition at line 28 of file RunTime.h.

#include <RunTime.h>

Public Member Functions

void start ()
 Start the timer. More...
 
double elapsed () const
 Get the elapsed time in seconds. More...
 

Private Attributes

double start_time_ = std::numeric_limits<double>::quiet_NaN()
 

Member Function Documentation

◆ elapsed()

◆ start()

Member Data Documentation

◆ start_time_

double BaseLib::RunTime::start_time_ = std::numeric_limits<double>::quiet_NaN()
private

Definition at line 54 of file RunTime.h.

Referenced by elapsed(), and start().


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