Commit Graph

1192 Commits

Author SHA1 Message Date
babic_a 462593627e Add operation duration timing working-single-thread 2020-05-11 18:41:00 +02:00
babic_a 9fd3ceed6e Set priority after spawning zmq thread 2020-05-11 18:28:55 +02:00
babic_a 78aa0b6d71 Set nice to -20 for buffer 2020-05-11 18:27:33 +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 04b71f7762 Remove FastQueue from sf_buffer 2020-05-11 13:56:17 +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 92b4041070 Make udp receiver return the pulse_id 2020-05-11 13:46:22 +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
babic_a 72d31d027e Rewrite sf_buffer to use BufferUdpReceiver 2020-05-11 12:31:46 +02:00
babic_a d49df10e69 Working on the loop logic 2020-05-11 11:48:17 +02:00
babic_a cd25fe50b8 Rewrite logic to be function oriented 2020-05-11 11:39:18 +02:00
babic_a 5beb8a3c35 Transition to local variables instead of pointers 2020-05-11 11:23:11 +02:00
babic_a 4b64e56ccb Remove unused import from sf_buffer 2020-05-11 11:17:01 +02:00
babic_a b9f912b4a1 First iteration of code merge 2020-05-11 11:16:39 +02:00
babic_a ecff615368 Update README with useful links 2020-05-11 10:47:26 +02:00
babic_a ad6b0f66be Remove CLion folders 2020-05-11 10:47:11 +02:00
Dmitry Ozerov dd3d5a80c4 correctly fill number of requested pulses in output file, stop in receiver before buffer is filled, if number of pulses is less then buffer 2020-05-10 00:01:41 +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
Dmitry Ozerov ce937f3597 restart JF07-stream automatically in 10 seconds if failed 2020-05-09 22:25:01 +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 e097e38365 Remove DEBUG_OUTPUT as its not very useful 2020-05-08 13:59:36 +02:00
babic_a ed2bcab1ba Wait forever until the writer gets all the packets 2020-05-08 11:49:56 +02:00
babic_a 30a267bfdd Revert back 2020-05-08 11:41:41 +02:00
babic_a fd33f72a09 Invert bind and connect among replay and writer 2020-05-08 11:39:36 +02:00
babic_a 6ff82c4b09 Fix current pulse_id increase 2020-05-08 11:33:39 +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
babic_a ea909d1e7e Merge remote-tracking branch 'origin/master' 2020-05-07 17:00:29 +02:00
babic_a da4108832d Pass start_pulse_id to recv thread and check pulses 2020-05-07 17:00:23 +02:00