Attention is currently required from: msuraev.
pespin has posted comments on this change. ( 
https://gerrit.osmocom.org/c/libosmocore/+/30302 )

Change subject: rate_ctr: convert to timerfd
......................................................................


Patch Set 4:

(1 comment)

File src/rate_ctr.c:

https://gerrit.osmocom.org/c/libosmocore/+/30302/comment/c2948534_67cc663c
PS3, Line 359:  timer_ticks++;
> No, why would I do that? The timer_ticks is updated manually every time timer 
> ticks (pun intended). […]
yes, but if a timer is lost due to the CPU being too loaded, you still want to 
tick the lost event I guess?
My understanding is that rate_ctr_group_intv() should be updated to take into 
account that timer_ticks can be increased more than once at a time, eg by 
storing last_timer_ticks, incrementing one vari ehre locally, passing it so 
that it can see if it lot the tick which should have updated it.



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

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I2525fd691caa380a862d305cfcb4fa3cc50b70d0
Gerrit-Change-Number: 30302
Gerrit-PatchSet: 4
Gerrit-Owner: msuraev <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <[email protected]>
Gerrit-Attention: msuraev <[email protected]>
Gerrit-Comment-Date: Wed, 30 Nov 2022 11:09:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <[email protected]>
Comment-In-Reply-To: msuraev <[email protected]>
Gerrit-MessageType: comment

Reply via email to