CatapultServer
v0.5.0.1 (Elephant)
|
A diagnostic counter. More...
Public Member Functions | |
DiagnosticCounter (const DiagnosticCounterId &id, const supplier< uint64_t > &supplier) | |
Creates a counter around id and supplier. More... | |
const DiagnosticCounterId & | id () const |
Gets the id. More... | |
uint64_t | value () const |
Gets the current value. More... | |
Private Attributes | |
DiagnosticCounterId | m_id |
supplier< uint64_t > | m_supplier |
A diagnostic counter.
|
inline |
Creates a counter around id and supplier.
|
inline |
Gets the id.
|
inline |
Gets the current value.
|
private |
|
private |