#include <StorageAccount.h>
Classes | |
struct | Counter |
class | Stamp |
class | StorageClassToken |
Public Types | |
enum | Operation { Operation::check, Operation::close, Operation::construct, Operation::destruct, Operation::flush, Operation::open, Operation::position, Operation::prefetch, Operation::read, Operation::readActual, Operation::readAsync, Operation::readPrefetchToCache, Operation::readViaCache, Operation::readv, Operation::resize, Operation::seek, Operation::stagein, Operation::stat, Operation::write, Operation::writeActual, Operation::writeViaCache, Operation::writev } |
typedef tbb::concurrent_unordered_map < int, Counter > | OperationStats |
typedef tbb::concurrent_unordered_map < int, OperationStats > | StorageStats |
Static Public Member Functions | |
static Counter & | counter (StorageClassToken token, Operation operation) |
static void | fillSummary (std::map< std::string, std::string > &summary) |
static const std::string & | nameForToken (StorageClassToken) |
static char const * | operationName (Operation operation) |
static const StorageStats & | summary (void) |
static std::string | summaryText (bool banner=false) |
static StorageClassToken | tokenForStorageClassName (std::string const &iName) |
Static Private Attributes | |
static StorageStats | m_stats |
Definition at line 12 of file StorageAccount.h.
typedef tbb::concurrent_unordered_map<int, Counter> StorageAccount::OperationStats |
Definition at line 120 of file StorageAccount.h.
typedef tbb::concurrent_unordered_map<int, OperationStats > StorageAccount::StorageStats |
Definition at line 121 of file StorageAccount.h.
|
strong |
Enumerator | |
---|---|
check | |
close | |
construct | |
destruct | |
flush | |
open | |
position | |
prefetch | |
read | |
readActual | |
readAsync | |
readPrefetchToCache | |
readViaCache | |
readv | |
resize | |
seek | |
stagein | |
stat | |
write | |
writeActual | |
writeViaCache | |
writev |
Definition at line 15 of file StorageAccount.h.
|
static |
Definition at line 126 of file StorageAccount.cc.
References m_stats, and StorageAccount::StorageClassToken::value().
Referenced by StorageFactory::check(), StorageAccountProxy::close(), StorageAccountProxy::flush(), StorageFactory::open(), StorageAccountProxy::resize(), StorageFactory::stagein(), StorageAccountProxy::StorageAccountProxy(), storageCounter(), and StorageAccountProxy::~StorageAccountProxy().
|
static |
Definition at line 103 of file StorageAccount.cc.
References d2str(), i, i2str(), j, and m_stats.
Referenced by TFileAdaptor::statsXML().
|
static |
Definition at line 70 of file StorageAccount.cc.
References assert(), and StorageAccount::StorageClassToken::value().
|
inlinestatic |
Definition at line 53 of file StorageAccount.cc.
|
static |
Definition at line 122 of file StorageAccount.cc.
References m_stats.
Referenced by edm::storage::StatisticsSenderService::FileStatistics::fillUDP(), and edm::service::CondorStatusService::updateImpl().
|
static |
Definition at line 81 of file StorageAccount.cc.
References plotBeamSpotDB::first, i, j, and m_stats.
Referenced by TFileAdaptor::stats().
|
static |
Definition at line 57 of file StorageAccount.cc.
References runTheMatrix::ret, and relativeConstraints::value.
Referenced by StorageFactory::check(), edm::storage::StatisticsSenderService::FileStatistics::fillUDP(), StorageFactory::open(), StorageFactory::stagein(), storageCounter(), and edm::service::CondorStatusService::updateImpl().
|
staticprivate |
Definition at line 134 of file StorageAccount.h.
Referenced by counter(), fillSummary(), summary(), and summaryText().