Fix perf for writer

This commit is contained in:
2020-05-15 15:21:19 +02:00
parent 97e2a140e5
commit 168c04df5a
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -9,14 +9,10 @@ target_link_libraries(core-buffer_tests
zmq
gtest)
add_executable(perf-sf_writer perf/perf_SFWriter.cpp)
add_executable(perf-sf_writer perf/perf_WriterH5Writer.cpp)
target_link_libraries(perf-sf_writer
core-buffer
hdf5
hdf5_hl
hdf5_cpp
gtest)
add_executable(perf-compression perf/perf_compression.cpp)
target_link_libraries(perf-compression
external)
@@ -43,7 +43,7 @@ int main (int argc, char *argv[])
auto start_time = chrono::steady_clock::now();
auto metadata = make_shared<DetectorFrame>();
auto metadata = make_shared<ImageMetadata>();
auto data = make_unique<char[]>(MODULE_N_BYTES*n_modules);
auto current_pulse_id = start_pulse_id;