Pau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/13786
Change subject: lms: Log underrun/overrun events ...................................................................... lms: Log underrun/overrun events Change-Id: I8c6b1d3e8515153e5d4079cc6620901ef8ce2449 --- M Transceiver52M/device/lms/LMSDevice.cpp 1 file changed, 10 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/86/13786/1 diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp index 0cd41d3..d0c8e19 100644 --- a/Transceiver52M/device/lms/LMSDevice.cpp +++ b/Transceiver52M/device/lms/LMSDevice.cpp @@ -573,12 +573,20 @@ { lms_stream_status_t status; if (LMS_GetStreamStatus(&m_lms_stream_rx[chan], &status) == 0) { - if (status.underrun > m_last_rx_underruns[chan]) + if (status.underrun > m_last_rx_underruns[chan]) { *underrun = true; + LOGC(DDEV, ERROR) << "chan " << chan << ": recv Underrun! (" + << m_last_rx_underruns[chan] << " -> " + << status.underrun << ")"; + } m_last_rx_underruns[chan] = status.underrun; - if (status.overrun > m_last_rx_overruns[chan]) + if (status.overrun > m_last_rx_overruns[chan]) { *overrun = true; + LOGC(DDEV, ERROR) << "chan " << chan << ": recv Overrun! (" + << m_last_rx_overruns[chan] << " -> " + << status.overrun << ")"; + } m_last_rx_overruns[chan] = status.overrun; } } -- To view, visit https://gerrit.osmocom.org/13786 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8c6b1d3e8515153e5d4079cc6620901ef8ce2449 Gerrit-Change-Number: 13786 Gerrit-PatchSet: 1 Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>