Commit Graph

81 Commits

Author SHA1 Message Date
babic_a b3d7bf6852 Add single send module struct 2020-04-22 11:34:53 +02:00
babic_a 5294015206 Add test for buffer utils 2020-04-21 20:19:13 +02:00
babic_a 8be4c4db3f Add get path suffixes method to BufferUtils 2020-04-21 20:12:34 +02:00
babic_a 77141a559c Ringbuffer returns nullptr when the buffer is full
This feature will allow us to make a push/pull mechanism for the sf_h5_writer.
All classes using RingBuffer have been updated to maintain the exact same behaviour as before.
2020-04-21 17:25:22 +02:00
babic_a ddcefd584e Add method for reading latest file 2020-04-20 17:47:55 +02:00
babic_a 8927e58b40 Added constant metadata flushing 2020-04-20 17:34:19 +02:00
babic_a 4b84d0fe19 Make raw write scalar method private 2020-04-20 16:57:44 +02:00
babic_a f108f54d6e Remove metadata buffering and flushing 2020-04-20 16:53:59 +02:00
babic_a 8b558ac023 Update test with pulse_id metadata 2020-04-20 16:47:02 +02:00
babic_a dea8470946 Change test due to signature change in FastH5Writer 2020-04-20 16:36:43 +02:00
babic_a 0171b61e8e Change scalar write for SWMR 2020-04-20 16:36:30 +02:00
babic_a e6188bf840 Improve image test 2020-04-20 16:34:19 +02:00
babic_a 7117c51202 Remove chunked writing for SWMR 2020-04-20 15:24:16 +02:00
babic_a 3c472ce5ed Add SWMR test 2020-04-20 15:24:02 +02:00
babic_a 980925c17c Start SWMR 2020-04-20 14:50:23 +02:00
babic_a 19476fe2f1 Add CURENT and LATEST 2020-04-20 13:58:15 +02:00
babic_a 54f330315b Send last closed file to LATEST 2020-04-20 13:38:22 +02:00
babic_a 99909bcd10 Add SWMR code 2020-04-20 13:37:51 +02:00
babic_a 4459d2eff6 Move to raw pointers 2020-04-20 12:48:03 +02:00
babic_a 415906435b Add basic test for FastH5Writer 2020-04-20 11:54:41 +02:00
babic_a cdf2636974 Change shared_ptr for unique_ptr 2020-04-20 10:56:54 +02:00
babic_a 3347d045e3 Fix frame size calculation 2020-04-20 10:13:44 +02:00
babic_a dfe9363197 Fix constructor 2020-04-20 10:10:42 +02:00
babic_a 4facc8c54a Add basic FastH5 test 2020-04-20 10:02:32 +02:00
babic_a 7dfdd1b970 Add HDF5 library to link tests 2020-04-20 10:02:18 +02:00
babic_a bf881f5468 Add EXTENSION parameter for filename 2020-04-20 10:02:05 +02:00
babic_a 631004a9e4 Implement flush metadata 2020-04-20 09:32:53 +02:00
babic_a c37d4b8aa2 Add flush metadata to close method 2020-04-19 23:40:01 +02:00
babic_a 9f4175bc9d Add implementation of writing scalar metadata 2020-04-19 23:37:02 +02:00
babic_a e13e2aca16 Change function name 2020-04-19 23:13:21 +02:00
babic_a ef78ddb108 Change write metadata signature to pointer 2020-04-19 20:11:44 +02:00
babic_a 59ff1a0543 Add file creation implementation 2020-04-19 19:45:11 +02:00
babic_a e784590a4e Improved FastH5Writer 2020-04-19 19:33:36 +02:00
babic_a 335ec26d6c Add device name and root folder to constructor 2020-04-19 19:28:30 +02:00
babic_a 9c4b16f889 Rename to create datasets 2020-04-19 18:29:09 +02:00
babic_a 5bc03f202d A bit of refactoring of FastWriter 2020-04-19 18:25:34 +02:00
babic_a 37bec0fb90 State implementation 2020-04-19 18:08:49 +02:00
babic_a 33c6eec090 Add create image dataset function 2020-04-19 18:00:09 +02:00
babic_a b6fbf1a3fd Fast H5Writer prototype 2020-04-19 12:36:00 +02:00
babic_a 59f9a41cf5 Add constraint clarification comments 2020-04-19 11:53:02 +02:00
babic_a 63446f0431 Make the file a bit more readable 2020-04-19 11:49:16 +02:00
babic_a 229f8d2457 Extract update latest file function 2020-04-19 11:40:36 +02:00
babic_a 4e3ec6af1f Revert "Try to use recvmmsg"
This reverts commit 365c15a6
2020-04-17 17:58:20 +02:00
babic_a 365c15a670 Try to use recvmmsg 2020-04-17 17:13:23 +02:00
babic_a 0241134427 Add sleep to let UDP flush 2020-04-17 17:13:02 +02:00
babic_a 4488c51a83 Remove dont wait from multimsg recv 2020-04-17 17:09:11 +02:00
babic_a f6b2717934 Additional sleep is needed to be sure packets arrive 2020-04-17 17:08:58 +02:00
babic_a 2ab7c6b19e Remove setting the RCVBUF 2020-04-17 17:02:03 +02:00
babic_a a1dc1dd5ec Improve test 2020-04-17 16:26:20 +02:00
babic_a e1116a2087 Add tests for multi msg recv 2020-04-17 16:08:31 +02:00