Commit Graph

236 Commits

Author SHA1 Message Date
babic_a e7fa05308a Adjust parameters based on experimental results 2020-05-13 09:37:48 +02:00
babic_a 14a50fb08e Implement recvmmsg in BufferUdpReceiver 2020-05-12 09:54:43 +02:00
babic_a 79581f95e4 Add new parameter to grab many frames at once 2020-05-12 09:16:55 +02:00
babic_a 53bf0445d3 Cosmetic fixes to BufferUdpReceiver 2020-05-11 18:13:57 +02:00
babic_a 8fc84add76 Fix tests 2020-05-11 18:12:44 +02:00
babic_a 6ac42c4955 Remove debug output 2020-05-11 18:12:34 +02:00
babic_a 54d4e47873 Add tests for missing packets 2020-05-11 18:07:06 +02:00
babic_a 62c390ad13 Fix const correctness 2020-05-11 17:52:42 +02:00
babic_a 4c0894b602 Rewrite UdpReceiver line to fit in line width 2020-05-11 17:50:00 +02:00
babic_a 6af37e927d Improve UDP RCVBUF configuration 2020-05-11 17:49:13 +02:00
babic_a 82dce2b9a0 Extend test for RCVBUF 2020-05-11 17:48:50 +02:00
babic_a be0425fbfe C++ style settings 2020-05-11 17:38:06 +02:00
babic_a b795da8a2f Fix like break in tests 2020-05-11 17:34:34 +02:00
babic_a cb0d65bd3b Remove additional imports 2020-05-11 17:34:17 +02:00
babic_a e15b285a3e Cleanup settings in UdpReceiver 2020-05-11 17:32:49 +02:00
babic_a 88364592bf Add first BufferUdpReceiver test 2020-05-11 17:13:20 +02:00
babic_a 7f3c2c814e Rename classes to new standard
Prefix all Buffer related classes with Buffer.
2020-05-11 13:54:49 +02:00
babic_a 0ca06b8e7a Remove all DEBUG_OUTPUT references
It turnes out it is not as useful as in the writer project.
2020-05-11 13:52:29 +02:00
babic_a 5df92a976e Improve logic for loaded packet 2020-05-11 13:46:05 +02:00
babic_a e6387fe8bf Include missing header 2020-05-11 13:45:55 +02:00
babic_a 9c99350442 First working version of BufferUdpReceiver 2020-05-11 12:42:55 +02:00
babic_a 9b75a6d991 Improve code flow in sf_buffer 2020-05-11 12:37:32 +02:00
babic_a fada8a7ec6 Make IPC address a parameter in buffer config 2020-05-11 12:34:30 +02:00
babic_a 67e59c8360 New class BufferUdpReceiver 2020-05-11 12:31:56 +02:00
Dmitry Ozerov 85c0fff417 Merge branch 'master' of https://github.com/paulscherrerinstitute/sf_daq_buffer 2020-05-09 23:27:58 +02:00
Dmitry Ozerov 8c33c9cc98 wait that receiver thread is finished, is_good_fame check added, poor man current pulse_id script 2020-05-09 23:25:46 +02:00
babic_a 4912bbe38d Adjust settings to new config 2020-05-08 14:25:01 +02:00
babic_a 79c6edbfb6 New configurations 2020-05-08 14:24:34 +02:00
babic_a 7ed1166edd Use class variables instead of function parameters 2020-05-08 10:40:21 +02:00
babic_a ddde32a8c2 Add thread stopping function 2020-05-08 10:37:09 +02:00
babic_a 3c6805a8e6 Add resync capabilities to sf_streamer 2020-05-08 10:33:25 +02:00
Dmitry Ozerov 65aefd1a90 add base directory path to buffer 2020-05-07 16:41:27 +02:00
babic_a 257f2e488d SWMR test no longer relevant 2020-05-07 09:57:58 +02:00
babic_a b14ffd5cfb Fixed perf_test for SFWriter 2020-05-07 09:55:11 +02:00
babic_a 54de3697e4 Remove SWMR from BufferWriter 2020-05-07 09:53:28 +02:00
babic_a 225f8569be Remove setting nice value inside recv thread 2020-05-06 16:53:54 +02:00
babic_a 1db5b2560e Reduce nice level 2020-05-06 16:45:19 +02:00
babic_a 6c0a744389 Set udp recv thread priority 2020-05-06 16:13:46 +02:00
babic_a a190fce55a Increase buffer send queue size 2020-05-06 16:04:02 +02:00
babic_a 0aaad2da25 Same copy constructor bug as before 2020-05-06 16:01:25 +02:00
babic_a 57bea8a582 Fix subscription error 2020-05-06 15:51:30 +02:00
babic_a e5e9d4074f Remove zmq context from thread parameter 2020-05-06 15:40:20 +02:00
babic_a be3050d471 Fix auto reference instead of copy 2020-05-06 14:54:08 +02:00
babic_a 9afd585c9d Add test to show how wrong I am 2020-05-06 14:53:02 +02:00
babic_a af9027fe66 Changed recv function signature with complete pointer type 2020-05-06 12:47:59 +02:00
babic_a c075faa376 Add end line to debug output 2020-05-06 12:04:57 +02:00
babic_a f86f71fe95 Improve test and add basic interaction 2020-05-06 10:57:57 +02:00
babic_a 032fe93bce Remove destroying of context
We don't create it, we don't destroy it.
2020-05-06 10:39:59 +02:00
babic_a d7497b2eb5 Exchange error reporting for zmq code 2020-05-06 10:31:26 +02:00
babic_a b31b6cddf9 Fixed bug in queue slot allocation
(Of course it can really happen!)
2020-05-06 10:29:33 +02:00