ByteCounter Class Reference
counter for accumulating byte values More...
#include <ByteCounter.h>
Collaboration diagram for ByteCounter:
Public Member Functions | |
ByteCounter & | operator+= (size_t v) |
Public Attributes | |
size_t | bytes = 0 |
size_t | kb = 0 |
Detailed Description
Definition at line 13 of file ByteCounter.h.
Member Function Documentation
◆ operator+=()
|
inline |
Definition at line 16 of file ByteCounter.h.
Member Data Documentation
◆ bytes
size_t ByteCounter::bytes = 0 |
Definition at line 24 of file ByteCounter.h.
Referenced by operator+=().
◆ kb
size_t ByteCounter::kb = 0 |
Definition at line 25 of file ByteCounter.h.
Referenced by GetCountersStats(), operator+=(), peerDigestStatsReport(), snmp_meshCtblFn(), snmp_prfProtoFn(), and statByteHitRatio().
The documentation for this class was generated from the following file:
- src/base/ByteCounter.h