Exotica
Public Member Functions | Private Attributes | List of all members
exotica::Timer Class Reference

#include <timer.h>

Collaboration diagram for exotica::Timer:
Collaboration graph

Public Member Functions

 Timer ()
 
void Reset ()
 
double GetDuration () const
 

Private Attributes

std::chrono::time_point< std::chrono::high_resolution_clock > start_time_
 

Constructor & Destructor Documentation

◆ Timer()

exotica::Timer::Timer ( )
inline

Member Function Documentation

◆ GetDuration()

double exotica::Timer::GetDuration ( ) const
inline

◆ Reset()

void exotica::Timer::Reset ( )
inline

Member Data Documentation

◆ start_time_

std::chrono::time_point<std::chrono::high_resolution_clock> exotica::Timer::start_time_
private

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