writer stats only when image counter is not zero

This commit is contained in:
lhdamiani
2021-07-13 14:59:43 +02:00
parent 07d60d0a06
commit 92bc53ef9b
3 changed files with 24 additions and 50 deletions
-7
View File
@@ -95,13 +95,6 @@ int main (int argc, char *argv[])
// receives the synced image id
zmq_recv(receiver_sync, &image_id, sizeof(image_id), 0);
#ifdef DEBUG_OUTPUT
using namespace date;
cout << " [" << std::chrono::system_clock::now();
cout << "] [ASSEMBLER::receiver_sync] image_id: ";
cout << image_id;
cout << endl;
#endif
// metadata
auto* src_meta = frame_buffer.get_slot_meta(image_id);
auto* src_data = frame_buffer.get_slot_data(image_id);