#include <StorageAccount.h>
Public Member Functions | |
Stamp (Counter &counter) | |
void | tick (double amount=0.) const |
Protected Attributes | |
Counter & | m_counter |
double | m_start |
Definition at line 20 of file StorageAccount.h.
StorageAccount::Stamp::Stamp | ( | Counter & | counter | ) |
Definition at line 110 of file StorageAccount.cc.
References StorageAccount::Counter::attempts, CommonMethods::lock(), m_counter, and s_mutex.
void StorageAccount::Stamp::tick | ( | double | amount = 0. | ) | const |
Definition at line 119 of file StorageAccount.cc.
References CommonMethods::lock(), s_mutex, and timeRealNanoSecs().
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 26 of file StorageAccount.h.
Referenced by Stamp().
|
protected |
Definition at line 27 of file StorageAccount.h.