Truncate timerwheel init time and use pow2 clocks per second to basically convert internal time of timerwheel from f64 to i52 by avoiding any floating point rounding.
This reduces timerwheel capacity from ~2985 hours to ~2332 hours
Timerwheel internal time is subject to rounding error and before this patch imprecise calculations resulted in incorrect calculation of clock cycles inside timerwheel implementation.
Truncate timerwheel init time and use pow2 clocks per second to basically convert internal time of timerwheel from f64 to i52 by avoiding any floating point rounding.
This reduces timerwheel capacity from ~2985 hours to ~2332 hours
Timerwheel internal time is subject to rounding error and before this patch imprecise calculations resulted in incorrect calculation of clock cycles inside timerwheel implementation.