This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has submitted this change and it was merged. ( https://gerrit.osmocom.org/13828 ) Change subject: uhd: smpl_buf: Use TIMESTAMP type in str_status ...................................................................... uhd: smpl_buf: Use TIMESTAMP type in str_status Other related functions use "TIMESTAMP timestamp" so let's use same stuff in that function. Change-Id: I016b1a7f8db379caebc1409ca11e5ae8b759d2d4 --- M Transceiver52M/device/uhd/smpl_buf.cpp M Transceiver52M/device/uhd/smpl_buf.h 2 files changed, 3 insertions(+), 3 deletions(-) Approvals: Jenkins Builder: Verified Harald Welte: Looks good to me, approved tnt: Looks good to me, but someone else must approve Vadim Yanitskiy: Looks good to me, but someone else must approve diff --git a/Transceiver52M/device/uhd/smpl_buf.cpp b/Transceiver52M/device/uhd/smpl_buf.cpp index ae21369..f3fc323 100644 --- a/Transceiver52M/device/uhd/smpl_buf.cpp +++ b/Transceiver52M/device/uhd/smpl_buf.cpp @@ -138,11 +138,11 @@ return len; } -std::string smpl_buf::str_status(size_t ts) const +std::string smpl_buf::str_status(TIMESTAMP timestamp) const { std::ostringstream ost("Sample buffer: "); - ost << "timestamp = " << ts; + ost << "timestamp = " << timestamp; ost << ", length = " << buf_len; ost << ", time_start = " << time_start; ost << ", time_end = " << time_end; diff --git a/Transceiver52M/device/uhd/smpl_buf.h b/Transceiver52M/device/uhd/smpl_buf.h index cb231d3..e58eb38 100644 --- a/Transceiver52M/device/uhd/smpl_buf.h +++ b/Transceiver52M/device/uhd/smpl_buf.h @@ -61,7 +61,7 @@ /** Buffer status string @return a formatted string describing internal buffer state */ - std::string str_status(size_t ts) const; + std::string str_status(TIMESTAMP timestamp) const; /** Formatted error string @param code an error code -- To view, visit https://gerrit.osmocom.org/13828 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-trx Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I016b1a7f8db379caebc1409ca11e5ae8b759d2d4 Gerrit-Change-Number: 13828 Gerrit-PatchSet: 2 Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org> Gerrit-Reviewer: Jenkins Builder (1000002) Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de> Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com> Gerrit-Reviewer: tnt <tnt at 246tNt.com> -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190503/b7489bed/attachment.htm>