#include <timings.h>
|
double | val |
|
std::string | name |
|
boost::chrono::system_clock::time_point | t0 |
|
unsigned long long | nCounter |
|
Definition at line 14 of file timings.h.
Timer::Timer |
( |
std::string |
name_ | ) |
|
|
inline |
Definition at line 17 of file timings.h.
unsigned long long nCounter
Definition at line 20 of file timings.h.
20 { maquis::cout <<
name <<
" " <<
val <<
", nCounter : " <<
nCounter << std::endl; }
unsigned long long nCounter
Definition at line 27 of file timings.h.
28 t0 = boost::chrono::system_clock::now();
boost::chrono::system_clock::time_point t0
Definition at line 31 of file timings.h.
33 boost::chrono::duration<double> sec = boost::chrono::system_clock::now() -
t0;
boost::chrono::system_clock::time_point t0
unsigned long long nCounter
double Timer::get_time |
( |
| ) |
const |
|
inline |
Timer& Timer::operator+= |
( |
double |
t | ) |
|
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
Timer const & |
timer |
|
) |
| |
|
friend |
Definition at line 41 of file timings.h.
42 os << timer.name <<
" " << timer.val <<
", nCounter : " << timer.nCounter;
unsigned long long Timer::nCounter |
|
protected |
boost::chrono::system_clock::time_point Timer::t0 |
|
protected |
The documentation for this class was generated from the following file: