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

Public Member Functions

 RNTupleTickCounter (const std::string &name, const std::string &unit, const std::string &desc)
 
std::string ValueToString () 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 166 of file RNTupleMetrics.hxx.

Member Function Documentation

◆ ValueToString()

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

Definition at line 172 of file RNTupleMetrics.hxx.


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