Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RNTupleTickCounter< BaseCounterT > Class Template Reference

template<typename BaseCounterT>
class RNTupleTickCounter< BaseCounterT >

A counter for CPU ticks.

Whether this counter is thread-safe depends on BaseCounterT, see RNTuplePlainCounter and RNTupleAtomicCounter.

When printing, the value is converted from ticks to nanoseconds.

Definition at line 212 of file RNTupleMetrics.hxx.

Public Member Functions

 RNTupleTickCounter (const std::string &name, const std::string &unit, const std::string &desc)
std::int64_t GetValueAsInt () const final
std::string GetValueAsString () const final

#include <ROOT/RNTupleMetrics.hxx>

Inheritance diagram for RNTupleTickCounter< BaseCounterT >:
BaseCounterT

Constructor & Destructor Documentation

◆ RNTupleTickCounter()

template<typename BaseCounterT>
ROOT::Experimental::Detail::RNTupleTickCounter< BaseCounterT >::RNTupleTickCounter ( const std::string & name,
const std::string & unit,
const std::string & desc )
inline

Definition at line 214 of file RNTupleMetrics.hxx.

Member Function Documentation

◆ GetValueAsInt()

template<typename BaseCounterT>
std::int64_t ROOT::Experimental::Detail::RNTupleTickCounter< BaseCounterT >::GetValueAsInt ( ) const
inlinefinal

Definition at line 220 of file RNTupleMetrics.hxx.

◆ GetValueAsString()

template<typename BaseCounterT>
std::string ROOT::Experimental::Detail::RNTupleTickCounter< BaseCounterT >::GetValueAsString ( ) const
inlinefinal

Definition at line 225 of file RNTupleMetrics.hxx.


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