Change in osmocom-bb[master]: fix time delta calculations in sched_clck.c

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.org
Fri Aug 17 13:50:23 UTC 2018


Pau Espin Pedrol has posted comments on this change. ( https://gerrit.osmocom.org/10489 )

Change subject: fix time delta calculations in sched_clck.c
......................................................................


Patch Set 1:

(1 comment)

https://gerrit.osmocom.org/#/c/10489/1/src/host/trxcon/sched_clck.c
File src/host/trxcon/sched_clck.c:

https://gerrit.osmocom.org/#/c/10489/1/src/host/trxcon/sched_clck.c@98
PS1, Line 98: 		FRAME_DURATION_uS - elapsed_us);
> Hmm. It does look weird since the scheduling time offset could be negative, right? […]
I would avoid passing a negative value in there. Also worth checking what it does implementation wise in osmo_timer_schedule.



-- 
To view, visit https://gerrit.osmocom.org/10489
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ic93f90685c6d6dc28dfc4ad48c998e0eac113cf8
Gerrit-Change-Number: 10489
Gerrit-PatchSet: 1
Gerrit-Owner: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
Gerrit-Reviewer: Stefan Sperling <ssperling at sysmocom.de>
Gerrit-Comment-Date: Fri, 17 Aug 2018 13:50:23 +0000
Gerrit-HasComments: Yes
Gerrit-HasLabels: No
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20180817/72951a45/attachment.htm>


More information about the gerrit-log mailing list