5 Jun
2017
5 Jun
'17
9:19 p.m.
Ondrej Zajicek <santiago@crfreenet.org> writes:
On Mon, Jun 05, 2017 at 06:53:02PM +0200, Toke Høiland-Jørgensen wrote:
Hey
I have been looking at changing the internal timers in Bird to operate at millisecond granularity instead of the current one-second steps. I have two motivations for this:
Hi
Check this:
https://gitlab.labs.nic.cz/labs/bird/tree/timers
It is a recent branch that replaces current timers with microsecond timers (already used in BFD). You could just swap bird_clock_t, timer and tm_*() functions with btime, timer2 and tm2_*() functions (with updated arguments). Also time constants in config file should be specified by expr_us instead of expr.
Ah, awesome! I'll look into that, thanks :) Is this going to be merged for 2.0? -Toke