Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Avoid integer overflow in MonotonicClock{S,MS,US} | PHO | 2015-01-29 | 1 | -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 2014 | Max Kellermann | 2014-01-13 | 1 | -1/+1 |
| | |||||
* | Clock.cxx: provide all arguments for GetProcessTimes | Denis Krjuchkov | 2013-11-29 | 1 | -2/+2 |
| | | | | All parameters seem mandatory, otherwise this call makes MPD crash. | ||||
* | Stats: use monotonic clock instead of GTimer | Max Kellermann | 2013-11-24 | 1 | -0/+22 |
| | | | | Reduce GLib usage. | ||||
* | Stats: use GetProcessTimes() on WIN32 to determine MPD uptime | Max Kellermann | 2013-11-24 | 1 | -0/+26 |
| | | | | | Don't use GTimer if the operating system is able to tell us the uptime. | ||||
* | system/clock: convert to C++ | Max Kellermann | 2013-10-15 | 1 | -0/+98 |