A non thread-safe integral performance counter.
Definition at line 84 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 |
std::int64_t | GetValueAsInt () const override |
std::string | GetValueAsString () const override |
R__ALWAYS_INLINE void | Inc () |
R__ALWAYS_INLINE void | SetValue (int64_t val) |
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 | |
std::int64_t | fCounter = 0 |
#include <ROOT/RNTupleMetrics.hxx>
|
inline |
Definition at line 89 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 96 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 95 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 97 of file RNTupleMetrics.hxx.
|
inlineoverridevirtual |
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Reimplemented in ROOT::Experimental::Detail::RNTupleTickCounter< ROOT::Experimental::Detail::RNTuplePlainCounter >.
Definition at line 99 of file RNTupleMetrics.hxx.
|
inlineoverridevirtual |
Implements ROOT::Experimental::Detail::RNTuplePerfCounter.
Reimplemented in ROOT::Experimental::Detail::RNTupleTickCounter< ROOT::Experimental::Detail::RNTuplePlainCounter >.
Definition at line 100 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 94 of file RNTupleMetrics.hxx.
|
inline |
Definition at line 98 of file RNTupleMetrics.hxx.
|
private |
Definition at line 86 of file RNTupleMetrics.hxx.