0003560: TimePassed calculation is inaccurate (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
TimePassed calculates the delta time with "float" type - thus restricted to accuracy of 7 digits. This if enoug for the accuracy of the return value, but by far not enough, when using the current timestamp - after PC is started, it is still "almost fine" - after some hours, the resulting jitter due to missing digits behind the comma is already several percent - thus milliseconds.
If runtime of PC (including S3 time !) is several days, the jitter can be several 100% - even leading to negative return values.

http://mantis.team-mediaportal.com/view.php?id=3560

Open the issue in Mantis...
 

Users who are viewing this thread

Top Bottom