mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-31 16:35:28 +00:00
adaad64fbb
When in modern mode (with local time interpolation), the timer connection used to maximize the left shifting of its timestamp-to-microseconds factor. The higher the shift the more precise is the translation from timestamps to microseconds. If the timestamp values used for determining the best shift were small - i.e. the delay between the calibration steps were small - we may got a pretty big shift. If we then used the shift with bigger timestamp values - i.e. called curr_time seldom or raised calibration delays - the big shift value became a problem. The framework had to scale down all measured timestamps and time values temporarily to stay operative until the next calibration step. Thus, we now raise the shift only that much that the resulting factor fullfills a given minimum. This keeps it as low as possible according to the precision requirement. Currently, this requirement is set to 8 meaning that the shifted factor shall be at least 2^8 = 256. Ref #2400
This source-code repository contains genuine low-level OS components and interfaces of Genode. It solely depends on the framework's base API.