aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbTime.hh
AgeCommit message (Collapse)AuthorFilesLines
2013-01-26Calculates timeouts of ClockTool based upon System ClockMathias Gumz1-5/+10
Users expect time switches to happen upon system clock times. Calculating the timeout for the next refresh of the shown time via the monotonic clock is wrong: The monotonic clock yields values based upon some arbitrary point in time which might be off a little bit to the system clock, a 'full' minute of the monotonic clock might be in the midst of a system clock minute.
2012-08-28changed timing functions to use a monotonic increasing clockMathias Gumz1-0/+58
gettimeofday() is subject to be changed on daylight-saving or to ntp-related (think leap-seconds). even worse, it is subject to be changed BACK in time. this is hard to fix correctly (see commit 45726d3016e and bug #3560509). it is irrelevant for timers to know the nano-seconds since the epoch anyways.