A metric element that computes its floating point value from other counters.
Definition at line 170 of file RNTupleMetrics.hxx.
| Public Types | |
| using | MetricFunc_t = std::function<std::pair<bool, double>(const RNTupleMetrics &)> | 
| Public Member Functions | |
| RNTupleCalcPerf (const std::string &name, const std::string &unit, const std::string &desc, RNTupleMetrics &metrics, MetricFunc_t &&func) | |
| double | GetValue () const | 
| std::int64_t | GetValueAsInt () const override | 
| std::string | GetValueAsString () const override | 
|  Public Member Functions inherited from ROOT::Experimental::Detail::RNTuplePerfCounter | |
| RNTuplePerfCounter (const std::string &name, const std::string &unit, const std::string &desc) | |
| virtual | ~RNTuplePerfCounter () | 
| void | Enable () | 
| const std::string & | GetDescription () const | 
| const std::string & | GetName () const | 
| const std::string & | GetUnit () const | 
| bool | IsEnabled () const | 
| std::string | ToString () const | 
| Private Attributes | |
| const MetricFunc_t | fFunc | 
| RNTupleMetrics & | fMetrics | 
#include <ROOT/RNTupleMetrics.hxx>
| using ROOT::Experimental::Detail::RNTupleCalcPerf::MetricFunc_t = std::function<std::pair<bool, double>(const RNTupleMetrics &)> | 
Definition at line 172 of file RNTupleMetrics.hxx.
| 
 | inline | 
Definition at line 179 of file RNTupleMetrics.hxx.
| 
 | inline | 
Definition at line 185 of file RNTupleMetrics.hxx.
| 
 | inlineoverridevirtual | 
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Definition at line 192 of file RNTupleMetrics.hxx.
| 
 | inlineoverridevirtual | 
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Definition at line 196 of file RNTupleMetrics.hxx.
| 
 | private | 
Definition at line 176 of file RNTupleMetrics.hxx.
| 
 | private | 
Definition at line 175 of file RNTupleMetrics.hxx.