4 std::unique_ptr<Storage> baseStorage)
5 : m_baseStorage (
std::
move(baseStorage)),
48 stats.
tick (result, n);
57 stats.
tick (result, n);
84 stats.
tick (result, n);
93 stats.
tick (result, n);
139 total += what[
i].
size();
virtual IOSize writev(const IOBuffer *from, IOSize n)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
StorageAccount::Counter & m_statsWrite
~StorageAccountProxy(void)
StorageAccount::Counter & m_statsPosition
StorageAccount::Counter & m_statsRead
StorageAccount::StorageClassToken m_token
virtual IOSize readv(IOBuffer *into, IOSize n)
StorageAccount::Counter & m_statsWriteV
StorageAccount::Counter & m_statsPrefetch
virtual IOOffset position(void) const
virtual IOSize write(const void *from, IOSize n)
virtual void resize(IOOffset size)
static Counter & counter(StorageClassToken token, Operation operation)
virtual IOOffset size(void) const
void tick(uint64_t amount=0, int64_t tick=0) const
edm::propagate_const< std::unique_ptr< Storage > > m_baseStorage
static int position[264][3]
StorageAccount::Counter & m_statsReadV
StorageAccountProxy(const std::string &storageClass, std::unique_ptr< Storage > baseStorage)