Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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 210 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 212 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 218 of file RNTupleMetrics.hxx.

◆ GetValueAsString()

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

Definition at line 223 of file RNTupleMetrics.hxx.

  • tree/ntuple/v7/inc/ROOT/RNTupleMetrics.hxx