BatchWriteStatistics Struct Reference

Statistics for batch write operations. More...

#include <RobotAPI/libraries/armem/server/ltm/persistence/disk/DiskPersistence.h>

Public Member Functions

double getAvgBatchSize () const
 
double getAvgFlushTimeMs () const
 
void reset ()
 

Public Attributes

std::atomic< uint64_t > flushByExplicit {0}
 
std::atomic< uint64_t > flushBySize {0}
 
std::atomic< uint64_t > flushByTime {0}
 
std::atomic< uint64_t > maxBatchSize {0}
 
std::atomic< uint64_t > totalBatchesWritten {0}
 
std::atomic< uint64_t > totalBytesWritten {0}
 
std::atomic< uint64_t > totalFlushTimeNs {0}
 
std::atomic< uint64_t > totalItemsBatched {0}
 

Detailed Description

Statistics for batch write operations.

Definition at line 22 of file DiskPersistence.h.

Member Function Documentation

◆ getAvgBatchSize()

double getAvgBatchSize ( ) const
inline

Definition at line 52 of file DiskPersistence.h.

◆ getAvgFlushTimeMs()

double getAvgFlushTimeMs ( ) const
inline

Definition at line 45 of file DiskPersistence.h.

◆ reset()

void reset ( )
inline

Definition at line 33 of file DiskPersistence.h.

Member Data Documentation

◆ flushByExplicit

std::atomic<uint64_t> flushByExplicit {0}

Definition at line 31 of file DiskPersistence.h.

◆ flushBySize

std::atomic<uint64_t> flushBySize {0}

Definition at line 29 of file DiskPersistence.h.

◆ flushByTime

std::atomic<uint64_t> flushByTime {0}

Definition at line 30 of file DiskPersistence.h.

◆ maxBatchSize

std::atomic<uint64_t> maxBatchSize {0}

Definition at line 28 of file DiskPersistence.h.

◆ totalBatchesWritten

std::atomic<uint64_t> totalBatchesWritten {0}

Definition at line 24 of file DiskPersistence.h.

◆ totalBytesWritten

std::atomic<uint64_t> totalBytesWritten {0}

Definition at line 26 of file DiskPersistence.h.

◆ totalFlushTimeNs

std::atomic<uint64_t> totalFlushTimeNs {0}

Definition at line 27 of file DiskPersistence.h.

◆ totalItemsBatched

std::atomic<uint64_t> totalItemsBatched {0}

Definition at line 25 of file DiskPersistence.h.


The documentation for this struct was generated from the following file: