Brush C++ API
A flexible interpretable machine learning framework
|
class for timing things. More...
#include <utils.h>
Public Member Functions | |
Timer (bool run=false) | |
void | Reset () |
std::chrono::duration< float > | Elapsed () const |
Private Types | |
typedef std::chrono::high_resolution_clock | high_resolution_clock |
typedef std::chrono::seconds | seconds |
Private Attributes | |
high_resolution_clock::time_point | _start |
Friends | |
template<typename T , typename Traits > | |
std::basic_ostream< T, Traits > & | operator<< (std::basic_ostream< T, Traits > &out, const Timer &timer) |
|
private |
|
private |
std::chrono::duration< float > Brush::Util::Timer::Elapsed | ( | ) | const |
void Brush::Util::Timer::Reset | ( | ) |
|
private |