aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/FbTime.cc
AgeCommit message (Collapse)AuthorFilesLines
2013-02-10FbTk::FbTime::mono() yields microseconds since fluxbox startedMathias Gumz1-3/+2
2013-01-26Calculates timeouts of ClockTool based upon System ClockMathias Gumz1-10/+14
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.
2013-01-02Compile fix: forgotten parentheses around valueMathias Gumz1-1/+1
2012-08-28changed timing functions to use a monotonic increasing clockMathias Gumz1-0/+97
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.