[ovs-dev] [stp-bugs 2/3] stp: Fix tick remainder calculation.

Justin Pettit jpettit at nicira.com
Tue Nov 15 09:37:54 PST 2011


On Nov 15, 2011, at 9:24 AM, Ben Pfaff wrote:

> How about dropping that function entirely, then changing:
>    stp->elapsed_remainder = ms_to_timer_remainder(ms);
> to:
>    stp->elapsed_remainder = ms - timer_to_ms(elapsed);
> 
> I believe that will be accurate.


Well, la de da, Mr. Knuth.

Thank you.  That's much better.

--Justin





More information about the dev mailing list