mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-24 07:46:42 +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 |
||
---|---|---|
.. | ||
doc | ||
include | ||
lib/mk | ||
recipes | ||
run | ||
src | ||
README |
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.