Thrill  0.1
StatsCounter< ValueType_, Active > Class Template Reference

Detailed Description

template<typename ValueType_, bool Active = true>
class thrill::common::StatsCounter< ValueType_, Active >

This class provides a statistical counter that can easily be deactivated using a boolean template switch.

It's basically a wrapper for an counter type, like unsigned long long value. If further operators are needed, they should be added.

Examples:
tests/common/stats_counter_test.cpp.

Definition at line 32 of file stats_counter.hpp.

#include <stats_counter.hpp>


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