Skip to content
Snippets Groups Projects
Commit 04491085 authored by Jonathan Hanks's avatar Jonathan Hanks
Browse files

Updated daqd_shmem to take statistics on its procuder receive time.

git-svn-id: https://redoubt.ligo-wa.caltech.edu/svn/advLigoRTS/trunk@4729 6dcd42c9-f523-4c6d-aada-af552506706e
parent 9cd7325d
No related branches found
No related tags found
No related merge requests found
......@@ -279,7 +279,11 @@ void *producer::frame_writer() {
std::fill(dcu_data_crc.begin(), dcu_data_crc.end(), 0);
std::fill(dcu_data_gps.begin(), dcu_data_gps.end(), 0);
// retreive 1/16s of data from zmq
stat_recv.sample();
daq_dc_data_t* data_block = shmem_receiver.receive_data();
stat_recv.tick();
std::cout << "#" << std::endl;
if (data_block->header.dcuTotalModels > 0) {
gps = data_block->header.dcuheader[0].timeSec;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment