2 using namespace edm::storage;
5 : m_baseStorage(std::
move(baseStorage)),
40 stats.
tick(result, n);
47 stats.
tick(result, n);
68 stats.
tick(result, n);
75 stats.
tick(result, n);
110 total += what[
i].
size();
StorageAccountProxy(const std::string &storageClass, std::unique_ptr< Storage > baseStorage)
virtual IOOffset size() const
bool prefetch(const IOPosBuffer *what, IOSize n) override
static Counter & counter(StorageClassToken token, Operation operation)
StorageAccount::Counter & m_statsPrefetch
~StorageAccountProxy(void) override
IOSize write(const void *from, IOSize n) override
StorageAccount::Counter & m_statsReadV
StorageAccount::StorageClassToken m_token
void resize(IOOffset size) override
void close(void) override
StorageAccount::Counter & m_statsWrite
virtual IOOffset position() const
IOSize readv(IOBuffer *into, IOSize n) override
void tick(uint64_t amount=0, int64_t tick=0) const
StorageAccount::Counter & m_statsPosition
void flush(void) override
static std::atomic< unsigned int > counter
static int position[264][3]
IOSize writev(const IOBuffer *from, IOSize n) override
edm::propagate_const< std::unique_ptr< Storage > > m_baseStorage
StorageAccount::Counter & m_statsRead
tuple size
Write out results.
StorageAccount::Counter & m_statsWriteV