Commit c2ecee6f authored by Jason Wu's avatar Jason Wu
Browse files

EDDPolnMergeTester.cpp update

parent ee451306
Pipeline #92231 passed with stages
in 4 minutes and 45 seconds
......@@ -36,6 +36,7 @@ TEST_F(EDDPolnMergeTester, test_sequence)
std::size_t npol = 2;
std::size_t nsamps_per_heaps = 4096;
std::size_t nheap_groups = 32;
int nthreads = 2;
std::size_t buffer_size = npol * nsamps_per_heaps * nheap_groups;
std::vector<char> test_vector(buffer_size);
DadaDB db(4, buffer_size, 8, 4096);
......@@ -56,7 +57,7 @@ TEST_F(EDDPolnMergeTester, test_sequence)
}
}
RawBytes input(test_vector.data(), buffer_size, buffer_size);
effelsberg::edd::EDDPolnMerge merger(nsamps_per_heaps, npol, writer);
effelsberg::edd::EDDPolnMerge merger(nsamps_per_heaps, npol, nthreads, writer);
std::vector<char> test_header(4096);
RawBytes input_header(test_header.data(), 4096, 4096);
ascii_header_set(input_header.ptr(), "CLOCK_SAMPLE", "%s", "3200000000");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment