Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RNTuplePlainCounter Class Reference

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 ()
std::string GetDescription () const
std::string GetName () const
std::string GetUnit () const
virtual std::int64_t GetValueAsInt () const =0
virtual std::string GetValueAsString () const =0
bool IsEnabled () const
std::string ToString () const

Private Attributes

std::int64_t fCounter = 0

#include <ROOT/RNTupleMetrics.hxx>

Inheritance diagram for ROOT::Experimental::Detail::RNTuplePlainCounter:

Constructor & Destructor Documentation

◆ RNTuplePlainCounter()

ROOT::Experimental::Detail::RNTuplePlainCounter::RNTuplePlainCounter ( const std::string &  name,
const std::string &  unit,
const std::string &  desc 

Definition at line 89 of file RNTupleMetrics.hxx.

Member Function Documentation

◆ Add()

R__ALWAYS_INLINE void ROOT::Experimental::Detail::RNTuplePlainCounter::Add ( int64_t  delta)

Definition at line 96 of file RNTupleMetrics.hxx.

◆ Dec()

R__ALWAYS_INLINE void ROOT::Experimental::Detail::RNTuplePlainCounter::Dec ( )

Definition at line 95 of file RNTupleMetrics.hxx.

◆ GetValue()

R__ALWAYS_INLINE int64_t ROOT::Experimental::Detail::RNTuplePlainCounter::GetValue ( ) const

Definition at line 97 of file RNTupleMetrics.hxx.

◆ GetValueAsInt()

std::int64_t ROOT::Experimental::Detail::RNTuplePlainCounter::GetValueAsInt ( ) const

Implements ROOT::Experimental::Detail::RNTuplePerfCounter.

Definition at line 99 of file RNTupleMetrics.hxx.

◆ GetValueAsString()

std::string ROOT::Experimental::Detail::RNTuplePlainCounter::GetValueAsString ( ) const

◆ Inc()

R__ALWAYS_INLINE void ROOT::Experimental::Detail::RNTuplePlainCounter::Inc ( )

Definition at line 94 of file RNTupleMetrics.hxx.

◆ SetValue()

R__ALWAYS_INLINE void ROOT::Experimental::Detail::RNTuplePlainCounter::SetValue ( int64_t  val)

Definition at line 98 of file RNTupleMetrics.hxx.

Member Data Documentation

◆ fCounter

std::int64_t ROOT::Experimental::Detail::RNTuplePlainCounter::fCounter = 0

Definition at line 86 of file RNTupleMetrics.hxx.

Libraries for ROOT::Experimental::Detail::RNTuplePlainCounter:

The documentation for this class was generated from the following file: