Intel® RealSense™ Cross Platform API
Intel Realsense Cross-platform API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
utilities::time::stopwatch Class Reference

#include <stopwatch.h>

Public Member Functions

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

Protected Attributes

clock::time_point _start
 

Constructor & Destructor Documentation

◆ stopwatch()

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

Member Function Documentation

◆ get_elapsed()

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

◆ get_elapsed_ms()

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

◆ get_start()

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

◆ reset()

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

Member Data Documentation

◆ _start

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

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