mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-12-01 06:57:51 +01:00
Adjust names for block read
This commit is contained in:
1 parent
2003d9c982
commit
1fc4bd6e44
1 file changed
+3
-4
@@ -1,8 +1,7 @@
|
||||
#include <iostream>
|
||||
#include <thread>
|
||||
#include <FastQueue.hpp>
|
||||
#include <cstring>
|
||||
|
||||
#include "FastQueue.hpp"
|
||||
#include "buffer_config.hpp"
|
||||
#include "BufferBinaryReader.hpp"
|
||||
#include "ReplayZmqSender.hpp"
|
||||
@@ -37,9 +36,9 @@ void sf_replay (
|
||||
|
||||
auto start_time = steady_clock::now();
|
||||
|
||||
auto metadata = queue.get_metadata_buffer(slot_id);
|
||||
auto block_buffer = queue.get_metadata_buffer(slot_id);
|
||||
|
||||
block_reader.get_block(curr_block, metadata);
|
||||
block_reader.get_block(curr_block, block_buffer);
|
||||
|
||||
auto end_time = steady_clock::now();
|
||||
uint64_t read_us_duration = duration_cast<microseconds>(
|
||||
|
||||
Reference in new issue
Block a user