A non thread-safe integral performance counter.
Definition at line 78 of file RNTupleMetrics.hxx.
Public Member Functions | |
RNTuplePlainCounter (const std::string &name, const std::string &unit, const std::string &desc) | |
R__ALWAYS_INLINE void | Add (int64_t delta) |
R__ALWAYS_INLINE void | Dec () |
R__ALWAYS_INLINE int64_t | GetValue () const |
R__ALWAYS_INLINE void | Inc () |
R__ALWAYS_INLINE void | SetValue (int64_t val) |
std::string | ValueToString () const override |
![]() | |
RNTuplePerfCounter (const std::string &name, const std::string &unit, const std::string &desc) | |
virtual | ~RNTuplePerfCounter () |
void | Enable () |
std::string | GetDescription () const |
std::string | GetName () const |
std::string | GetUnit () const |
bool | IsEnabled () const |
std::string | ToString () const |
virtual std::string | ValueToString () const =0 |
Private Attributes | |
std::int64_t | fCounter = 0 |
#include <ROOT/RNTupleMetrics.hxx>
|
inline |
Definition at line 83 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 90 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 89 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 91 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 88 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 92 of file RNTupleMetrics.hxx.
|
inlineoverridevirtual |
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Definition at line 93 of file RNTupleMetrics.hxx.
|
private |
Definition at line 80 of file RNTupleMetrics.hxx.