5 : m_storageClass (storageClass),
6 m_baseStorage (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)
void tick(double amount=0., int64_t tick=0) const
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
StorageAccountProxy(const std::string &storageClass, Storage *baseStorage)
virtual IOSize read(void *into, IOSize n, IOOffset pos)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
StorageAccount::Counter & m_statsWrite
~StorageAccountProxy(void)
StorageAccount::Counter & m_statsPosition
virtual void resize(IOOffset size)=0
std::string m_storageClass
StorageAccount::Counter & m_statsRead
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
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)
unsigned int offset(bool)
virtual void resize(IOOffset size)
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
static Counter & counter(const std::string &storageClass, const std::string &operation)
virtual IOOffset size(void) const
static std::atomic< unsigned int > counter
StorageAccount::Counter & m_statsReadV
tuple size
Write out results.
virtual IOSize writev(const IOPosBuffer *from, IOSize buffers)