CernVM-FS  2.9.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
perf::StatisticsTemplate Class Reference

#include <statistics.h>

Collaboration diagram for perf::StatisticsTemplate:

Public Member Functions

 StatisticsTemplate (const std::string &name_major, Statistics *statistics)
 
 StatisticsTemplate (const std::string &name_sub, const StatisticsTemplate &statistics)
 
CounterRegisterTemplated (const std::string &name_minor, const std::string &desc)
 
CounterRegisterOrLookupTemplated (const std::string &name_minor, const std::string &desc)
 
Statisticsstatistics ()
 

Private Attributes

std::string name_major_
 
Statisticsstatistics_
 

Detailed Description

Allows multiple instance of the same class to use the same Statistics instance. The "name_major" part is used to contruct counter names in the form name_major.<provided name>="">

Definition at line 98 of file statistics.h.

Constructor & Destructor Documentation

perf::StatisticsTemplate::StatisticsTemplate ( const std::string &  name_major,
Statistics statistics 
)
inline

Definition at line 100 of file statistics.h.

perf::StatisticsTemplate::StatisticsTemplate ( const std::string &  name_sub,
const StatisticsTemplate statistics 
)
inline

Definition at line 103 of file statistics.h.

Member Function Documentation

Counter* perf::StatisticsTemplate::RegisterOrLookupTemplated ( const std::string &  name_minor,
const std::string &  desc 
)
inline

Definition at line 115 of file statistics.h.

Referenced by upload::UploadCounters::UploadCounters().

Here is the call graph for this function:

Here is the caller graph for this function:

Counter* perf::StatisticsTemplate::RegisterTemplated ( const std::string &  name_minor,
const std::string &  desc 
)
inline

Definition at line 109 of file statistics.h.

Referenced by RamCacheManager::Counters::Counters(), lru::Counters::Counters(), MemoryKvStore::Counters::Counters(), download::Counters::Counters(), cvmfs::Fetcher::Fetcher(), and perf::FsCounters::FsCounters().

Here is the call graph for this function:

Here is the caller graph for this function:

Statistics* perf::StatisticsTemplate::statistics ( )
inline

Definition at line 125 of file statistics.h.

Member Data Documentation

std::string perf::StatisticsTemplate::name_major_
private

Definition at line 128 of file statistics.h.

Statistics* perf::StatisticsTemplate::statistics_
private

Definition at line 129 of file statistics.h.


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