From 1eb850f001a1d79406c3ef84fa7cfdb49e5a3e02 Mon Sep 17 00:00:00 2001 From: Andrej Babic Date: Wed, 11 Jul 2018 08:33:00 +0200 Subject: [PATCH] Remove excessive debug logging --- src/H5Writer.cpp | 4 ---- src/RingBuffer.cpp | 5 ----- 2 files changed, 9 deletions(-) diff --git a/src/H5Writer.cpp b/src/H5Writer.cpp index 759215a..5a85b38 100644 --- a/src/H5Writer.cpp +++ b/src/H5Writer.cpp @@ -225,10 +225,6 @@ hsize_t H5Writer::prepare_storage_for_data(const string& dataset_name, const siz relative_data_index = data_index - ((frame_chunk - 1) * frames_per_file); } - #ifdef DEBUG_OUTPUT - cout << "[H5Writer::prepare_storage_for_data] Received frame index " << data_index << " and processed as relative frame index " << relative_data_index << endl; - #endif - // Open the file if needed. if (!is_file_open()) { create_file(); diff --git a/src/RingBuffer.cpp b/src/RingBuffer.cpp index 5d136c3..b6f2313 100644 --- a/src/RingBuffer.cpp +++ b/src/RingBuffer.cpp @@ -130,11 +130,6 @@ char* RingBuffer::get_buffer_slot_address(size_t buffer_slot_index) throw runtime_error(error_message.str()); } - #ifdef DEBUG_OUTPUT - cout << "[RingBuffer::get_buffer_slot_address] For buffer_slot_index " << buffer_slot_index; - cout << " the calculated memory address is " << long(slot_memory_address) << endl; - #endif - return slot_memory_address; }