Review Request 125033: Implement systemUptimeSeconds for OS X

Samuel Gaist samuel.gaist at edeltech.ch
Sun Sep 6 20:49:56 BST 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125033/
-----------------------------------------------------------

(Updated Sept. 6, 2015, 7:49 p.m.)


Status
------

This change has been marked as submitted.


Review request for KDE Base Apps.


Repository: libksysguard


Description
-------

Fix build on OS X

OS X doesn't provide CLOCK_MONOTONIC for clock_gettime so this patch
implements the uptime retrieval using clock_get_time

This patch fixes the build on OS X by using the empty process_gnu_p
also for platforms defining __APPLE__


Diffs
-----

  processcore/processes_atop_p.h f975a202d98993f1319322006fbb103ff91f7913 
  processcore/processes_local_p.cpp cabfeb0ca70f195dcc289850740b0c6e2c353044 
  processui/timeutil.h 23c6a92d131c589cf0c640b3b4aac6b9358059e9 

Diff: https://git.reviewboard.kde.org/r/125033/diff/


Testing
-------

Build on OS X 10.8


Thanks,

Samuel Gaist

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20150906/4633b2f6/attachment.htm>


More information about the kde-core-devel mailing list