diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/OutputUHD.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/OutputUHD.cpp b/src/OutputUHD.cpp index c7e9fac..4d51dc4 100644 --- a/src/OutputUHD.cpp +++ b/src/OutputUHD.cpp @@ -690,9 +690,10 @@ void UHDWorker::handle_frame(const struct UHDWorkerFrameData *frame) if (expected_sec != tx_second or expected_pps != tx_pps) { etiLog.level(warn) << "OutputUHD: timestamp irregularity!" << - " Expected " << expected_sec << "+" << + std::fixed << + " Expected " << expected_sec << "+" << (double)expected_pps/16384000.0 << - " Got " << tx_second << "+" << + " Got " << tx_second << "+" << (double)tx_pps/16384000.0; timestamp_discontinuity = true; @@ -712,6 +713,7 @@ void UHDWorker::handle_frame(const struct UHDWorkerFrameData *frame) if (md.time_spec.get_real_secs() + tx_timeout < usrp_time) { etiLog.level(warn) << "OutputUHD: Timestamp in the past! offset: " << + std::fixed << md.time_spec.get_real_secs() - usrp_time << " (" << usrp_time << ")" " frame " << frame->ts.fct << |