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.
- M The measure. Must model Measure concept
- name Name of the measure