143 std::chrono::duration< double, std::milli >
step_()
const;
146 std::chrono::high_resolution_clock::time_point
start_;
149 std::chrono::high_resolution_clock::time_point
pause_;
Class used to compute response times for benchmark purposes.
std::string toString() const
Returns the delta time between now and the last reset() in a human format.
void reset()
Reset the timer.
std::chrono::duration< double, std::milli > step_() const
bool sleeping_
False if running.
std::chrono::high_resolution_clock::time_point pause_
Time of the last call to pause().
double step() const
Returns the delta time between now and the last reset() call (or the constructor).
Timer()
Default constructor (launching the timer).
double resume()
Resume the timer and return the delta (.
std::chrono::high_resolution_clock::time_point start_
Time of the last call to reset() or the constructor.
double pause()
Pause the timer and return the delta (.
Timer & operator=(const Timer &timer)
Copy operator.
gum is the global namespace for all aGrUM entities
std::ostream & operator<<(std::ostream &stream, const AVLTree< Val, Cmp > &tree)
display the content of a tree