diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-05 09:24:02 +0200 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2015-06-05 09:24:02 +0200 |
commit | c8b792fee07cfa591339cbf6f67454cb1cf4535b (patch) | |
tree | df72aaa1b42f626bb82538622c2ba0f7155be051 /src/OutputUHD.cpp | |
parent | 71eb84d5f483af8d22402de3d2ec70b08b5802d3 (diff) | |
download | dabmod-c8b792fee07cfa591339cbf6f67454cb1cf4535b.tar.gz dabmod-c8b792fee07cfa591339cbf6f67454cb1cf4535b.tar.bz2 dabmod-c8b792fee07cfa591339cbf6f67454cb1cf4535b.zip |
Remove debugging prints
Diffstat (limited to 'src/OutputUHD.cpp')
-rw-r--r-- | src/OutputUHD.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
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 <boost/thread/future.hpp> @@ -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; |