triqs::mc_tools::mc_generic::add_measure
#include <triqs/mc_tools/mc_generic.hpp>
Synopsis
template<typename MeasureType>typename measure_set<MCSignType>::measure_itr_t add_measure (MeasureType && m,std::string name,bool enable_timer = true,bool report_measure = false)
Register a measure
If the measure m is an rvalue, it is moved into the mc_generic, otherwise is copied into it.
Parameters
M The measure. Must model Measure concept
name Name of the measure