aboutsummaryrefslogtreecommitdiffstats
path: root/src/system/Clock.cxx (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'v0.19.x'Max Kellermann2015-01-291-6/+6
|\
| * Avoid integer overflow in MonotonicClock{S,MS,US}PHO2015-01-291-6/+6
| | | | | | | | | | 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.
* | Copyright year 2015Max Kellermann2015-01-011-1/+1
|/
* copyright year 2014Max Kellermann2014-01-131-1/+1
|
* Clock.cxx: provide all arguments for GetProcessTimesDenis Krjuchkov2013-11-291-2/+2
| | | | All parameters seem mandatory, otherwise this call makes MPD crash.
* Stats: use monotonic clock instead of GTimerMax Kellermann2013-11-241-0/+22
| | | | Reduce GLib usage.
* Stats: use GetProcessTimes() on WIN32 to determine MPD uptimeMax Kellermann2013-11-241-0/+26
| | | | | Don't use GTimer if the operating system is able to tell us the uptime.
* system/clock: convert to C++Max Kellermann2013-10-151-0/+98