![]() |
Storage Engine API
|
journaling stats. More...
#include <dur_stats.h>
journaling stats.
the model here is that the commit thread is the only writer, and that reads are uncommon (from a serverStatus command and such). Thus, there should not be multicore chatter overhead.
Classes | |
| struct | S |
Public Member Functions | |
| Stats () | |
| void | reset () |
| BSONObj | asObj () const |
| const S * | curr () const |
| S * | curr () |
Private Attributes | |
| S | _stats [5] |
| unsigned | _currIdx |
| mongo::dur::Stats::Stats | ( | ) |
| BSONObj mongo::dur::Stats::asObj | ( | ) | const |
|
inline |
|
inline |
| void mongo::dur::Stats::reset | ( | ) |
|
private |
|
private |