Developer documentation
Version 3.0.3-105-gd3941f44
MR::Timer Class Reference

#include "timer.h"

Inheritance diagram for MR::Timer:
MR::IntervalTimer

Public Member Functions

 Timer ()
 
void start ()
 
double elapsed ()
 

Static Public Member Functions

static double current_time ()
 

Protected Attributes

std::chrono::high_resolution_clock::time_point from
 

Detailed Description

Definition at line 27 of file timer.h.

Constructor & Destructor Documentation

◆ Timer()

MR::Timer::Timer ( )
inline

Definition at line 29 of file timer.h.

Member Function Documentation

◆ current_time()

static double MR::Timer::current_time ( )
inlinestatic

Definition at line 40 of file timer.h.

◆ elapsed()

double MR::Timer::elapsed ( )
inline

Definition at line 36 of file timer.h.

◆ start()

void MR::Timer::start ( )
inline

Definition at line 33 of file timer.h.

Member Data Documentation

◆ from

std::chrono::high_resolution_clock::time_point MR::Timer::from
protected

Definition at line 45 of file timer.h.


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