Chebyshev
Unit testing for scientific software
chebyshev::benchmark::timer Class Reference

Timer class to measure elapsed time in milliseconds. More...

#include <timer.h>

Public Member Functions

 timer ()
 Constructs the timer storing the current time.
 
void start ()
 Start the timer.
 
long double get () const
 Returns the elapsed time since construction or start of the timer in milliseconds.
 
long double operator() ()
 Returns the elapsed time since construction or start of the timer in milliseconds. More...
 

Detailed Description

Timer class to measure elapsed time in milliseconds.

Member Function Documentation

◆ operator()()

long double chebyshev::benchmark::timer::operator() ( )
inline

Returns the elapsed time since construction or start of the timer in milliseconds.

See also
get

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