Logo ROOT  
Reference Guide
ROOT::Experimental::Detail::RNTupleTickCounter< BaseCounterT > Class Template Reference

template<typename BaseCounterT>
class ROOT::Experimental::Detail::RNTupleTickCounter< BaseCounterT >

An either thread-safe or non thread safe counter for CPU ticks.

On print, the value is converted from ticks to ns.

Definition at line 186 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 ROOT::Experimental::Detail::RNTupleTickCounter< BaseCounterT >:
[legend]

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 188 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 194 of file RNTupleMetrics.hxx.

◆ GetValueAsString()

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

Definition at line 199 of file RNTupleMetrics.hxx.


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