Public Member Functions | Protected Attributes | List of all members
utilities::time::stopwatch Class Reference

#include <stopwatch.h>

Public Member Functions

clock::duration get_elapsed () const
double get_elapsed_ms () const
clock::time_point get_start () const
void reset (clock::time_point start_time=clock::now()) const
 stopwatch ()

Protected Attributes

clock::time_point _start

Detailed Description

Definition at line 14 of file stopwatch.h.

Constructor & Destructor Documentation

utilities::time::stopwatch::stopwatch ( )

Definition at line 18 of file stopwatch.h.

Member Function Documentation

clock::duration utilities::time::stopwatch::get_elapsed ( ) const

Definition at line 36 of file stopwatch.h.

double utilities::time::stopwatch::get_elapsed_ms ( ) const

Definition at line 30 of file stopwatch.h.

clock::time_point utilities::time::stopwatch::get_start ( ) const

Definition at line 42 of file stopwatch.h.

void utilities::time::stopwatch::reset ( clock::time_point  start_time = clock::now()) const

Definition at line 24 of file stopwatch.h.

Member Data Documentation

clock::time_point utilities::time::stopwatch::_start

Definition at line 48 of file stopwatch.h.

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

Author(s): Sergey Dorodnicov , Doron Hirshberg , Mark Horn , Reagan Lopez , Itay Carpis
autogenerated on Mon May 3 2021 02:50:43