VR-Vantage
Loading...
Searching...
No Matches
exprtk::timer Class Reference

Public Member Functions

 timer ()
void start ()
void stop ()
unsigned long long int usec_time () const
double time () const
bool in_use () const

Private Attributes

bool in_use_
struct timeval start_time_
struct timeval stop_time_

Constructor & Destructor Documentation

◆ timer()

exprtk::timer::timer ( )
inline

References in_use_, start_time_, and stop_time_.

Member Function Documentation

◆ start()

void exprtk::timer::start ( )
inline

References in_use_, and start_time_.

◆ stop()

void exprtk::timer::stop ( )
inline

References in_use_, and stop_time_.

◆ usec_time()

unsigned long long int exprtk::timer::usec_time ( ) const
inline

References in_use_, start_time_, and stop_time_.

Referenced by time().

◆ time()

double exprtk::timer::time ( ) const
inline

References usec_time().

◆ in_use()

bool exprtk::timer::in_use ( ) const
inline

References in_use_.

Member Data Documentation

◆ in_use_

bool exprtk::timer::in_use_
private

Referenced by in_use(), start(), stop(), timer(), and usec_time().

◆ start_time_

struct timeval exprtk::timer::start_time_
private

Referenced by start(), timer(), and usec_time().

◆ stop_time_

struct timeval exprtk::timer::stop_time_
private

Referenced by stop(), timer(), and usec_time().


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