X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=src%2Fmessage_processor_class.hpp;h=5ff3961dbab90d35e9bb7e48342bdcf0824037ab;hb=6f5a7b69bb045ed82506e14cef9b0cdc6554a613;hp=f2897118ae04fa6b098fdc28994b516a8a194a65;hpb=dc68642f5676cdd49f3ef92f983b319e21f16afa;p=ric-app%2Fadmin.git diff --git a/src/message_processor_class.hpp b/src/message_processor_class.hpp index f289711..5ff3961 100644 --- a/src/message_processor_class.hpp +++ b/src/message_processor_class.hpp @@ -67,7 +67,7 @@ typedef enum { class message_processor { public: - message_processor(int mode=ALL, bool rep=true, size_t buffer_length = 2048, size_t reporting_interval = 100); + message_processor(int mode=ALL, bool rep=true, size_t buffer_length = 2048); ~message_processor(void); bool operator() (rmr_mbuf_t *); @@ -111,16 +111,6 @@ private: bool report_mode_only; // suppress e2ap control size_t _buffer_size; // for storing encoding - // these two parameters are used to report average processing latency. - // processing latency is accumalated over every num_proc_packets - // and both values are reported out on std log. After each report - // counters are reset - - size_t _reporting_interval; // number of packets in a measurement interval - size_t num_proc_packets; - double processing_duration; // for storing time to process - double processing_dev; // for storing standard deviation - double max_proc_duration ; };