leveldb
Public Member Functions | Public Attributes | List of all members
leveldb::DBImpl::CompactionStats Struct Reference

Public Member Functions

 CompactionStats ()
 
void Add (const CompactionStats &c)
 

Public Attributes

int64_t micros
 
int64_t bytes_read
 
int64_t bytes_written
 

Detailed Description

Definition at line 178 of file db_impl.h.

Constructor & Destructor Documentation

§ CompactionStats()

leveldb::DBImpl::CompactionStats::CompactionStats ( )
inline

Definition at line 183 of file db_impl.h.

Member Function Documentation

§ Add()

void leveldb::DBImpl::CompactionStats::Add ( const CompactionStats c)
inline

Definition at line 185 of file db_impl.h.

185  {
186  this->micros += c.micros;
187  this->bytes_read += c.bytes_read;
188  this->bytes_written += c.bytes_written;
189  }
Here is the caller graph for this function:

Member Data Documentation

§ bytes_read

int64_t leveldb::DBImpl::CompactionStats::bytes_read

Definition at line 180 of file db_impl.h.

§ bytes_written

int64_t leveldb::DBImpl::CompactionStats::bytes_written

Definition at line 181 of file db_impl.h.

§ micros

int64_t leveldb::DBImpl::CompactionStats::micros

Definition at line 179 of file db_impl.h.


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