From c8b792fee07cfa591339cbf6f67454cb1cf4535b Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Fri, 5 Jun 2015 09:24:02 +0200 Subject: Remove debugging prints --- src/OutputUHD.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/OutputUHD.cpp') diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index acc4271..6ad7dfd 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -31,7 +31,6 @@ #include "PcDebug.h" #include "Log.h" #include "RemoteControl.h" -#include "Utils.h" #include @@ -351,23 +350,8 @@ int OutputUHD::process(Buffer* dataIn, Buffer* dataOut) throw std::runtime_error("Non-constant input length!"); } - struct timespec time_before; - int time_before_ret = clock_gettime(CLOCK_MONOTONIC, &time_before); - mySyncBarrier.get()->wait(); - struct timespec time_after; - int time_after_ret = clock_gettime(CLOCK_MONOTONIC, &time_after); - - if (time_before_ret == 0 and time_after_ret == 0) { - etiLog.level(debug) << "Time delta : " << - timespecdiff_us(time_before, time_after) << " us"; - } - else { - etiLog.level(error) << "Time delta failed " << - time_before_ret << " " << time_after_ret; - } - if (!uwd.running) { worker.stop(); first_run = true; -- cgit v1.2.3