#include <counters.h>
Public Member Functions | |
void | append (BSONObjBuilder &b) |
void | hit (long long bytesIn, long long bytesOut) |
NetworkCounter () | |
Private Attributes | |
long long | _bytesIn |
long long | _bytesOut |
SpinLock | _lock |
long long | _overflows |
long long | _requests |
Definition at line 140 of file counters.h.
mongo::NetworkCounter::NetworkCounter | ( | ) | [inline] |
Definition at line 142 of file counters.h.
void mongo::NetworkCounter::append | ( | BSONObjBuilder & | b | ) |
void mongo::NetworkCounter::hit | ( | long long | bytesIn, | |
long long | bytesOut | |||
) |
long long mongo::NetworkCounter::_bytesIn [private] |
Definition at line 146 of file counters.h.
long long mongo::NetworkCounter::_bytesOut [private] |
Definition at line 147 of file counters.h.
SpinLock mongo::NetworkCounter::_lock [private] |
Definition at line 152 of file counters.h.
long long mongo::NetworkCounter::_overflows [private] |
Definition at line 150 of file counters.h.
long long mongo::NetworkCounter::_requests [private] |
Definition at line 148 of file counters.h.