OpenSDN source code
|
#include <sandesh_statistics.h>
Public Types | |
typedef boost::ptr_map < std::string, SandeshStateMachineEvStats > | EventStatsMap |
Public Member Functions | |
SandeshEventStatistics () | |
void | Update (std::string &event_name, bool enqueue, bool fail) |
void | Get (std::vector< SandeshStateMachineEvStats > *ev_stats) const |
void | Shutdown () |
Public Attributes | |
EventStatsMap | event_stats_ |
SandeshStateMachineEvStats | agg_stats_ |
Private Attributes | |
bool | deleted_ |
Definition at line 51 of file sandesh_statistics.h.
typedef boost::ptr_map<std::string, SandeshStateMachineEvStats> SandeshEventStatistics::EventStatsMap |
Definition at line 59 of file sandesh_statistics.h.
|
inline |
Definition at line 53 of file sandesh_statistics.h.
void SandeshEventStatistics::Get | ( | std::vector< SandeshStateMachineEvStats > * | ev_stats | ) | const |
Definition at line 284 of file sandesh_statistics.cc.
void SandeshEventStatistics::Shutdown | ( | void | ) |
Definition at line 326 of file sandesh_statistics.cc.
void SandeshEventStatistics::Update | ( | std::string & | event_name, |
bool | enqueue, | ||
bool | fail | ||
) |
Definition at line 296 of file sandesh_statistics.cc.
SandeshStateMachineEvStats SandeshEventStatistics::agg_stats_ |
Definition at line 61 of file sandesh_statistics.h.
|
private |
Definition at line 63 of file sandesh_statistics.h.
EventStatsMap SandeshEventStatistics::event_stats_ |
Definition at line 60 of file sandesh_statistics.h.