#include <StorageAccount.h>
Public Member Functions | |
Stamp (Counter &counter) | |
void | tick (uint64_t amount=0, int64_t tick=0) const |
Protected Attributes | |
Counter & | m_counter |
std::chrono::time_point< std::chrono::high_resolution_clock > | m_start |
Definition at line 96 of file StorageAccount.h.
StorageAccount::Stamp::Stamp | ( | Counter & | counter | ) |
Definition at line 132 of file StorageAccount.cc.
References StorageAccount::Counter::attempts, and m_counter.
void StorageAccount::Stamp::tick | ( | uint64_t | amount = 0 , |
int64_t | tick = 0 |
||
) | const |
Definition at line 140 of file StorageAccount.cc.
References StorageAccount::Counter::addTo(), StorageAccount::Counter::amount, StorageAccount::Counter::amount_square, KineDebug3::count(), m_counter, m_start, cmsPerfSuiteHarvest::now, StorageAccount::Counter::successes, StorageAccount::Counter::timeMax, StorageAccount::Counter::timeMin, StorageAccount::Counter::timeTotal, StorageAccount::Counter::vector_count, and StorageAccount::Counter::vector_square.
Referenced by StorageAccountProxy::close(), StorageAccountProxy::flush(), TStorageFactoryFile::Initialize(), StorageAccountProxy::position(), StorageAccountProxy::prefetch(), StorageAccountProxy::read(), TStorageFactoryFile::ReadBuffer(), TStorageFactoryFile::ReadBufferAsync(), TStorageFactoryFile::ReadBuffers(), TStorageFactoryFile::ReadBuffersSync(), StorageAccountProxy::readv(), StorageAccountProxy::resize(), StorageAccountProxy::StorageAccountProxy(), TStorageFactoryFile::SysClose(), TStorageFactoryFile::SysOpen(), TStorageFactoryFile::SysSeek(), TStorageFactoryFile::SysStat(), TStorageFactoryFile::SysSync(), TStorageFactoryFile::TStorageFactoryFile(), StorageAccountProxy::write(), TStorageFactoryFile::WriteBuffer(), StorageAccountProxy::writev(), and StorageAccountProxy::~StorageAccountProxy().
|
protected |
Definition at line 102 of file StorageAccount.h.
|
protected |
Definition at line 103 of file StorageAccount.h.
Referenced by tick().