Working on the daqd style statistics in cps_recv.
* Linked the admin interface into the dc_stats to allow clearing the crc counters. * Fixed a bug in the crc logic which would not allow it to always mark a crc (dropped data) on a transition between valid data and no data. * Added some tests. * Added a emplace_with_timeout to the message queue to allow implementing the DCStats stop method without blocking forever if a background thread is not running.
parent
0e630df5
No related branches found
No related tags found
Showing
- src/pub_sub_stream/CMakeLists.txt 8 additions, 1 deletionsrc/pub_sub_stream/CMakeLists.txt
- src/pub_sub_stream/cps_recv_admin.cc 40 additions, 10 deletionssrc/pub_sub_stream/cps_recv_admin.cc
- src/pub_sub_stream/cps_recv_admin.hh 5 additions, 3 deletionssrc/pub_sub_stream/cps_recv_admin.hh
- src/pub_sub_stream/dc_stats.cc 51 additions, 16 deletionssrc/pub_sub_stream/dc_stats.cc
- src/pub_sub_stream/dc_stats.hh 52 additions, 1 deletionsrc/pub_sub_stream/dc_stats.hh
- src/pub_sub_stream/message_queue.hh 43 additions, 5 deletionssrc/pub_sub_stream/message_queue.hh
- src/pub_sub_stream/sub_recv_bufferred.cc 1 addition, 1 deletionsrc/pub_sub_stream/sub_recv_bufferred.cc
- src/pub_sub_stream/tests/test_dc_stats.cc 237 additions, 0 deletionssrc/pub_sub_stream/tests/test_dc_stats.cc
- src/pub_sub_stream/tests/test_message_queue.cc 36 additions, 14 deletionssrc/pub_sub_stream/tests/test_message_queue.cc
Loading
Please register or sign in to comment