Implement InterruptTimeBias and use it in RtlQueryUnbiasedInterruptTime.

After !8916 (merged) RtlQueryUnbiasedInterruptTime now includes suspend time as well when it shouldn't.

This fixes this and also allows other components like winevulkan to use RtlQueryUnbiasedInterruptTime, if that kind of tick count is necessary there get the InterruptTimeBias for their own clock conversions.

Since calculating the bias is relatively expensive, this is done together with the timezone bias update every second in such a way that it can only monotonically increase.

Edited by Marc-Aurel Zent

Merge request reports

Loading