mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
9b1c26ab7f
In the timeout framework, we maintain a translation factor value to translate between time and timestamps. To raise precision we scale-up the factor when we calculate it and scale-down the result of its appliance later again. This up and down scaling is achieved through left and right shifting. Until now, the shift width was statically choosen. However, some platforms need a big shift width and others a smaller one. The one static shift width couldn't cover all platforms which caused overflows or precision problems. Now, the shift width is choosen optimally for the actual translation factor each time it gets re-calculated. This way, we can take care that the shift always renders the best precision level without the risk for overflows. Ref #2400 |
||
---|---|---|
.. | ||
capability.h | ||
client.h | ||
connection.h | ||
timer_session.h |