Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 1 | #ifndef OPENOLT_STATS_COLLECTION_H_ |
| 2 | #define OPENOLT_STATS_COLLECTION_H_ |
| 3 | |
| 4 | #include <openolt.grpc.pb.h> |
| 5 | |
| 6 | extern "C" |
| 7 | { |
| 8 | #include <bal_model_types.h> |
| 9 | } |
| 10 | |
Shad Ansari | edef213 | 2018-08-10 22:14:50 +0000 | [diff] [blame] | 11 | void init_stats(); |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 12 | void stop_collecting_statistics(); |
| 13 | openolt::PortStatistics* get_default_port_statistics(); |
Nicolas Palpacuer | 6a63ea9 | 2018-09-05 17:21:37 -0400 | [diff] [blame] | 14 | openolt::PortStatistics* collectPortStatistics(bcmbal_interface_key key); |
Shad Ansari | cb004c5 | 2018-05-30 18:07:23 +0000 | [diff] [blame] | 15 | #if 0 |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 16 | openolt::FlowStatistics* get_default_flow_statistics(); |
| 17 | openolt::FlowStatistics* collectFlowStatistics(bcmbal_flow_id flow_id, bcmbal_flow_type flow_type); |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 18 | void register_new_flow(bcmbal_flow_key key); |
Nicolas Palpacuer | 6a63ea9 | 2018-09-05 17:21:37 -0400 | [diff] [blame] | 19 | #endif |
Nicolas Palpacuer | 0f19b1a | 2018-06-07 17:29:31 -0400 | [diff] [blame] | 20 | |
| 21 | |
| 22 | #endif |