aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-20 16:42:12 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-05-20 16:42:12 +0200
commit2022c10d0f2d307360618febc9d2d0acf3676a2f (patch)
treead259a95b07a01fd9a2c13940a2f8eab561aa315
parentbb64b314c83843a792103de83ef67cc5b0d1d9be (diff)
downloaddabmod-2022c10d0f2d307360618febc9d2d0acf3676a2f.tar.gz
dabmod-2022c10d0f2d307360618febc9d2d0acf3676a2f.tar.bz2
dabmod-2022c10d0f2d307360618febc9d2d0acf3676a2f.zip
Embellish warning about timestamp
-rw-r--r--src/OutputUHD.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp
index 74ff042..3875ddb 100644
--- a/src/OutputUHD.cpp
+++ b/src/OutputUHD.cpp
@@ -690,9 +690,11 @@ void UHDWorker::handle_frame(const struct UHDWorkerFrameData *frame)
if (expected_sec != tx_second or
expected_pps != tx_pps) {
- etiLog.level(warn) << "OutputUHD: tx time unexpected!" <<
- " exp " << expected_sec << " " << expected_pps <<
- " got " << tx_second << " " << tx_pps;
+ etiLog.level(warn) << "OutputUHD: timestamp irregularity!" <<
+ " Expected " << expected_sec << "+" <<
+ (double)expected_pps/16384000.0 <<
+ " Got " << tx_second << "+" <<
+ (double)tx_pps/16384000.0;
timestamp_discontinuity = true;
}