aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/Clock.cxx (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-01-29Avoid integer overflow in MonotonicClock{S,MS,US}PHO1-4/+4
This is Darwin specific: the previous implementation was causing an integer overflow when base.numer is very large. On PPC Darwin, the timebase info is 1000000000/33330116 and this is too large for integer arithmetic.
2013-10-15system/clock: convert to C++Max Kellermann1-4/+4
2013-08-07Makefile.am: move sources to libsystem.aMax Kellermann1-0/+0
2013-02-27clock: fix usec-to-usec factorHagen Fritsch1-1/+1
2013-02-27clock: add missing includeHagen Fritsch1-0/+3
2012-08-14timer: use monotonic clock if availableMax Kellermann1-0/+95