Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StatsTimerBase< Active > Class Template Reference

Detailed Description

template<bool Active>
class thrill::common::StatsTimerBase< Active >

This class provides a statistical stop watch timer that can easily be deactivated using a boolean template switch.

It uses std::chrono to get the current time when start() is called. Then, after some processing, the function stop() functions can be called, or seconds() and other accessors can be called directly.

Definition at line 39 of file stats_timer.hpp.

+ Inheritance diagram for StatsTimerBase< Active >:

#include <stats_timer.hpp>

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