Re: replace microtime with getmicrouptime in ip_mroute.c

2016-09-07 Thread Florian Obser
OK florian@ On Thu, Sep 08, 2016 at 11:54:01AM +1000, David Gwynne wrote: > it uses the time to rate limit the sending of assertion messages. > > there are two reasons for this change. > > firstly, using uptime instead of wall time means the intervals will > be measured against a a monotonic clo

Re: replace microtime with getmicrouptime in ip_mroute.c

2016-09-07 Thread Claudio Jeker
On Thu, Sep 08, 2016 at 11:54:01AM +1000, David Gwynne wrote: > it uses the time to rate limit the sending of assertion messages. > > there are two reasons for this change. > > firstly, using uptime instead of wall time means the intervals will > be measured against a a monotonic clock that isnt

replace microtime with getmicrouptime in ip_mroute.c

2016-09-07 Thread David Gwynne
it uses the time to rate limit the sending of assertion messages. there are two reasons for this change. firstly, using uptime instead of wall time means the intervals will be measured against a a monotonic clock that isnt skewed by clock changes. it should therefore always be rate limited to 30