summaryrefslogtreecommitdiffstats
path: root/libutils/SystemClock.cpp
Commit message (Collapse)AuthorAgeFilesLines
* libutils: turn on -WerrorMark Salyzyn2014-06-021-9/+7
| | | | | | | | | - Deal with some -Wunused issues - Override PRI macros (windows) - Revert use of PRI macros on off64_t (linux) - Deal with a gnu++11 complaince issue Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
* SystemClock: use clock_gettime() on devices without /dev/alarmGreg Hackmann2013-12-171-16/+9
| | | | | | | | | | | On devices with an up-to-date kernel, the back-in-time bug affecting clock_gettime() has been fixed and it can safely be used as an alternative to the ANDROID_ALARM_GET_TIME ioctl. To ensure consistent behavior on existing devices, make clock_gettime() a fallback for when the alarm driver isn't available. Change-Id: I384af5e7ec9e73e0bad4b6b0f987a8ea4583cba6 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* Disable timestamp logging.Ben Cheng2013-09-231-0/+13
| | | | | | | | | The kernel problem has been fixed long time ago and the ad-hoc logging mechanism is not thread safe and can flood the log with spurious messages. BUG: 10899829 Change-Id: I63278db51295e744eed3e47dc8d4cfe621c0d8f7
* move libs/utils to libutilsAlex Ray2013-08-021-0/+155
Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d