occ
Loading...
Searching...
No Matches
occ::timing::StopWatch< count > Class Template Reference

#include <timings.h>

Public Member Functions

 StopWatch ()
 
void set_now_overhead (size_t ns)
 
time_point_t start (size_t t=0)
 
duration_t stop (size_t t=0)
 
double read (size_t t=0) const
 
void clear_all ()
 

Static Public Member Functions

static time_point_t now ()
 

Constructor & Destructor Documentation

◆ StopWatch()

template<size_t count = 1>
occ::timing::StopWatch< count >::StopWatch ( )
inline

Member Function Documentation

◆ clear_all()

template<size_t count = 1>
void occ::timing::StopWatch< count >::clear_all ( )
inline

◆ now()

template<size_t count = 1>
static time_point_t occ::timing::StopWatch< count >::now ( )
inlinestatic

◆ read()

template<size_t count = 1>
double occ::timing::StopWatch< count >::read ( size_t  t = 0) const
inline

◆ set_now_overhead()

template<size_t count = 1>
void occ::timing::StopWatch< count >::set_now_overhead ( size_t  ns)
inline

◆ start()

template<size_t count = 1>
time_point_t occ::timing::StopWatch< count >::start ( size_t  t = 0)
inline

◆ stop()

template<size_t count = 1>
duration_t occ::timing::StopWatch< count >::stop ( size_t  t = 0)
inline

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