Work on issue #13, increasing the connection count for daqd/nds1.
This addresses the issue by expanding the size of the bitmask. * Replace the 'int' bitmask with a generic structure. This allows the type system to help us find all the places it is used. * Replace direct bitmask manipulation with member functions to increase local readability. * Allow the new bitmask structure to have an increased capacity that can be set (at compile time). * Add unit tests to new bitmask code. * Add test code to look at nds1 load.
Showing
- src/daqd/CMakeLists.txt 8 additions, 0 deletionssrc/daqd/CMakeLists.txt
- src/daqd/circ.cc 32 additions, 30 deletionssrc/daqd/circ.cc
- src/daqd/circ.h 7 additions, 10 deletionssrc/daqd/circ.h
- src/daqd/circ.hh 30 additions, 28 deletionssrc/daqd/circ.hh
- src/daqd/cmask_t.h 129 additions, 0 deletionssrc/daqd/cmask_t.h
- src/daqd/comm.y 2 additions, 2 deletionssrc/daqd/comm.y
- src/daqd/tests/test_daqd_cmask_t.cc 229 additions, 0 deletionssrc/daqd/tests/test_daqd_cmask_t.cc
- src/daqd/tests/test_main.cc 2 additions, 0 deletionssrc/daqd/tests/test_main.cc
- src/daqd/tests/test_nds1_connections.cc 91 additions, 0 deletionssrc/daqd/tests/test_nds1_connections.cc
Loading
Please register or sign in to comment