|
OpenSDN source code
|
#include <sandesh_statistics.h>
Public Types | |
| typedef boost::ptr_map< std::string, SandeshMessageTypeStats > | DetailStatsMap |
| typedef std::vector< SandeshMessageTypeStats > | DetailStatsList |
| typedef std::vector< SandeshMessageTypeBasicStats > | BasicStatsList |
Public Member Functions | |
| SandeshMessageStatistics () | |
| void | UpdateSend (const std::string &msg_name, uint64_t bytes) |
| void | UpdateSendFailed (const std::string &msg_name, uint64_t bytes, SandeshTxDropReason::type dreason) |
| void | UpdateRecv (const std::string &msg_name, uint64_t bytes) |
| void | UpdateRecvFailed (const std::string &msg_name, uint64_t bytes, SandeshRxDropReason::type dreason) |
| void | Clear () |
| void | Get (DetailStatsList *v_detail_type_stats, SandeshMessageStats *detail_agg_stats) const |
| void | Get (DetailStatsMap *m_detail_type_stats, SandeshMessageStats *detail_agg_stats) const |
| void | Get (BasicStatsList *v_basic_type_stats, SandeshMessageBasicStats *basic_agg_stats) const |
| void | Shutdown () |
Private Member Functions | |
| void | UpdateInternal (const std::string &msg_name, uint64_t bytes, bool is_tx, bool dropped, SandeshTxDropReason::type send_dreason, SandeshRxDropReason::type recv_dreason) |
Private Attributes | |
| bool | deleted_ |
| DetailStatsMap | detail_type_stats_map_ |
| SandeshMessageStats | detail_agg_stats_ |
Definition at line 11 of file sandesh_statistics.h.
| typedef std::vector<SandeshMessageTypeBasicStats> SandeshMessageStatistics::BasicStatsList |
Definition at line 34 of file sandesh_statistics.h.
| typedef std::vector<SandeshMessageTypeStats> SandeshMessageStatistics::DetailStatsList |
Definition at line 26 of file sandesh_statistics.h.
| typedef boost::ptr_map<std::string, SandeshMessageTypeStats> SandeshMessageStatistics::DetailStatsMap |
Definition at line 25 of file sandesh_statistics.h.
|
inline |
Definition at line 13 of file sandesh_statistics.h.
| void SandeshMessageStatistics::Clear | ( | ) |
| void SandeshMessageStatistics::Get | ( | BasicStatsList * | v_basic_type_stats, |
| SandeshMessageBasicStats * | basic_agg_stats | ||
| ) | const |
| void SandeshMessageStatistics::Get | ( | DetailStatsList * | v_detail_type_stats, |
| SandeshMessageStats * | detail_agg_stats | ||
| ) | const |
Definition at line 27 of file sandesh_statistics.cc.
| void SandeshMessageStatistics::Get | ( | DetailStatsMap * | m_detail_type_stats, |
| SandeshMessageStats * | detail_agg_stats | ||
| ) | const |
Definition at line 21 of file sandesh_statistics.cc.
| void SandeshMessageStatistics::Shutdown | ( | void | ) |
Definition at line 278 of file sandesh_statistics.cc.
|
private |
| void SandeshMessageStatistics::UpdateRecv | ( | const std::string & | msg_name, |
| uint64_t | bytes | ||
| ) |
| void SandeshMessageStatistics::UpdateRecvFailed | ( | const std::string & | msg_name, |
| uint64_t | bytes, | ||
| SandeshRxDropReason::type | dreason | ||
| ) |
| void SandeshMessageStatistics::UpdateSend | ( | const std::string & | msg_name, |
| uint64_t | bytes | ||
| ) |
| void SandeshMessageStatistics::UpdateSendFailed | ( | const std::string & | msg_name, |
| uint64_t | bytes, | ||
| SandeshTxDropReason::type | dreason | ||
| ) |
|
private |
Definition at line 41 of file sandesh_statistics.h.
|
private |
Definition at line 48 of file sandesh_statistics.h.
|
private |
Definition at line 47 of file sandesh_statistics.h.