4 #ifndef SRC_VNSW_AGENT_OPER_PROFILE_H_
5 #define SRC_VNSW_AGENT_OPER_PROFILE_H_
130 typedef boost::function<void(ProfileData *data)>
ProfileCb;
178 #endif // SRC_VNSW_AGENT_OPER_PROFILE_H_
WorkQueueStats flow_update_queue_
std::vector< WorkQueueStats > flow_delete_queue_
void RegisterPktFlowStatsCb(ProfileCb cb)
ProfileData twentyfour_hr_data_
uint16_t seconds_history_index() const
ProfileCb ksync_stats_cb_
void RegisterFlowStatsCb(ProfileCb cb)
void Get(const DBTable *table)
std::map< std::string, DBTableStats > profile_stats_table_
WorkQueueStats ksync_rx_queue_count_
AgentProfile(Agent *agent, bool enable)
WorkQueueStats pkt_handler_queue_
DISALLOW_COPY_AND_ASSIGN(AgentProfile)
uint64_t bridge_add_count_
DBTableStats evpn_routes_
ProfileData * GetProfileData(uint16_t index)
uint64_t vrouter_responses_
static const uint32_t kProfileTimeout
std::vector< WorkQueueStats > flow_ksync_queue_
ProfileData seconds_history_data_[kSecondsHistoryCount]
ProfileData minutes_history_data_[kMinutesHistoryCount]
boost::function< void(ProfileData *data)> KSyncStatsCb
ProfileData eight_hr_data_
uint64_t max_queue_count_
void RegisterKSyncStatsCb(ProfileCb cb)
uint16_t seconds_history_index_
uint64_t inet6_del_count_
ProfileData fifteen_min_data_
ProfileData sixteen_hr_data_
boost::function< void(ProfileData *data)> ProfileCb
uint64_t update_restarts_
static const uint16_t kSecondsHistoryCount
static const uint16_t kMinutesHistoryCount
WorkQueueStats flow_mgmt_queue_
uint64_t mcast_del_count_
DBTableStats inet6_routes_
std::vector< WorkQueueStats > flow_event_queue_
ProfileData hours_history_data_[kHoursHistoryCount]
uint16_t minutes_history_index_
FlowTokenStats token_stats_
uint64_t inet4_add_count_
ProfileData * GetLastProfileData()
ProfileData thirty_min_data_
DBTableStats bridge_routes_
void Accumulate(const DBTableBase *table)
static const uint16_t kHoursHistoryCount
ProfileData five_min_data_
uint64_t update_failures_
WorkQueueStats ksync_tx_queue_count_
DBTableStats multicast_routes_
uint64_t inet4_del_count_
void AddProfileData(ProfileData *data)
uint64_t bridge_del_count_
TaskStats task_stats_[24]
uint64_t mcast_add_count_
std::vector< WorkQueueStats > flow_stats_queue_
uint64_t recompute_count_
DBTableStats inet4_routes_
std::vector< WorkQueueStats > flow_tokenless_queue_
ProfileCb pkt_flow_stats_cb_
ProfileData one_min_data_
uint64_t inet6_add_count_
boost::function< void(ProfileData *data)> PktFlowStatsCb
uint16_t hours_history_index_
ProfileData four_hr_data_