CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
StorageAccount::Stamp Class Reference

#include <StorageAccount.h>

Public Member Functions

 Stamp (Counter &counter)
 
void tick (uint64_t amount=0, int64_t tick=0) const
 

Protected Attributes

Counterm_counter
 
std::chrono::time_point< std::chrono::high_resolution_clock > m_start
 

Detailed Description

Definition at line 93 of file StorageAccount.h.

Constructor & Destructor Documentation

◆ Stamp()

StorageAccount::Stamp::Stamp ( Counter counter)

Member Function Documentation

◆ tick()

void StorageAccount::Stamp::tick ( uint64_t  amount = 0,
int64_t  tick = 0 
) const

Member Data Documentation

◆ m_counter

Counter& StorageAccount::Stamp::m_counter
protected

Definition at line 100 of file StorageAccount.h.

Referenced by Stamp().

◆ m_start

std::chrono::time_point<std::chrono::high_resolution_clock> StorageAccount::Stamp::m_start
protected

Definition at line 101 of file StorageAccount.h.

counter
Definition: counter.py:1
cond::time::nanoseconds
boost::date_time::subsecond_duration< boost::posix_time::time_duration, 1000000000 > nanoseconds
Definition: TimeConversions.h:16
submitPVValidationJobs.now
now
Definition: submitPVValidationJobs.py:639
StorageAccount::Counter::timeTotal
std::atomic< double > timeTotal
Definition: StorageAccount.h:80
StorageAccount::Counter::amount
std::atomic< uint64_t > amount
Definition: StorageAccount.h:74
StorageAccount::Counter::timeMax
std::atomic< double > timeMax
Definition: StorageAccount.h:82
StorageAccount::Counter::vector_square
std::atomic< int64_t > vector_square
Definition: StorageAccount.h:79
StorageAccount::Counter::successes
std::atomic< uint64_t > successes
Definition: StorageAccount.h:73
submitPVResolutionJobs.count
count
Definition: submitPVResolutionJobs.py:352
StorageAccount::Stamp::m_start
std::chrono::time_point< std::chrono::high_resolution_clock > m_start
Definition: StorageAccount.h:101
StorageAccount::Counter::vector_count
std::atomic< int64_t > vector_count
Definition: StorageAccount.h:78
StorageAccount::Counter::attempts
std::atomic< uint64_t > attempts
Definition: StorageAccount.h:72
StorageAccount::Counter::addTo
static void addTo(std::atomic< double > &iAtomic, double iToAdd)
Definition: StorageAccount.h:84
StorageAccount::Counter::amount_square
std::atomic< double > amount_square
Definition: StorageAccount.h:77
StorageAccount::Counter::timeMin
std::atomic< double > timeMin
Definition: StorageAccount.h:81
cond::uint64_t
unsigned long long uint64_t
Definition: Time.h:13
StorageAccount::Stamp::m_counter
Counter & m_counter
Definition: StorageAccount.h:100