A metric element that computes its floating point value from other counters.
Definition at line 169 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) | |
| void | Enable () |
| const std::string & | GetDescription () const |
| const std::string & | GetName () const |
| const std::string & | GetUnit () const |
| double | GetValue () const |
| std::int64_t | GetValueAsInt () const override |
| std::string | GetValueAsString () const override |
| bool | IsEnabled () const |
| std::string | ToString () const |
Private Attributes | |
| std::string | fDescription |
| const MetricFunc_t | fFunc |
| bool | fIsEnabled = false |
| RNTupleMetrics & | fMetrics |
| std::string | fName |
| std::string | fUnit |
Static Private Attributes | |
| static constexpr char | kFieldSeperator = '|' |
| Symbol to split name, unit, description, and value when printing. | |
#include <ROOT/RNTupleMetrics.hxx>
| using ROOT::Experimental::Detail::RNTupleCalcPerf::MetricFunc_t = std::function<std::pair<bool, double>(const RNTupleMetrics &)> |
Definition at line 171 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 178 of file RNTupleMetrics.hxx.
|
inlineinherited |
Definition at line 65 of file RNTupleMetrics.hxx.
|
inlineinherited |
Definition at line 68 of file RNTupleMetrics.hxx.
|
inlineinherited |
Definition at line 67 of file RNTupleMetrics.hxx.
|
inlineinherited |
Definition at line 69 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 184 of file RNTupleMetrics.hxx.
|
inlineoverridevirtual |
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Definition at line 191 of file RNTupleMetrics.hxx.
|
inlineoverridevirtual |
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Definition at line 195 of file RNTupleMetrics.hxx.
|
inlineinherited |
Definition at line 66 of file RNTupleMetrics.hxx.
|
inherited |
Definition at line 25 of file RNTupleMetrics.cxx.
|
privateinherited |
Definition at line 58 of file RNTupleMetrics.hxx.
|
private |
Definition at line 175 of file RNTupleMetrics.hxx.
|
privateinherited |
Definition at line 59 of file RNTupleMetrics.hxx.
|
private |
Definition at line 174 of file RNTupleMetrics.hxx.
|
privateinherited |
Definition at line 56 of file RNTupleMetrics.hxx.
|
privateinherited |
Definition at line 57 of file RNTupleMetrics.hxx.
|
staticconstexprprivateinherited |
Symbol to split name, unit, description, and value when printing.
Definition at line 54 of file RNTupleMetrics.hxx.