CatapultServer
v0.5.0.1 (Elephant)
|
catapult::Timestamp Timestamp
Definition: RollbackStats.h:57
RollbackCounterType
Rollback counter types.
Definition: RollbackStats.h:28
void prune(Timestamp threshold)
Prunes statistics below time threshold.
Definition: RollbackStats.cpp:54
RollbackStats()
Creates rollback statistics container.
Definition: RollbackStats.cpp:25
size_t RollbackSize
Definition: RollbackStats.h:58
std::list< RollbackStatsEntry > m_rollbackSizes
Definition: RollbackStats.h:63
uint64_t total(RollbackCounterType rollbackCounterType) const
Returns statistics for a type (rollbackCounterType).
Definition: RollbackStats.cpp:30
Definition: RollbackStats.h:56
Definition: AddressExtractionExtension.cpp:28
Number of rollbacks since start of the server.
Number of rollbacks within a time frame (configuration dependent).
uint64_t m_longestRollback
Definition: RollbackStats.h:64
Container for rollback statistics.
Definition: RollbackStats.h:40
void add(Timestamp timestamp, size_t rollbackSize)
Adds info about rollbackSize at timestamp to current statistics.
Definition: RollbackStats.cpp:45
uint64_t m_totalRollbacks
Definition: RollbackStats.h:62