summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage_test.cpp
diff options
context:
space:
mode:
authorGreg Hackmann <ghackmann@google.com>2013-12-16 17:04:32 -0800
committerGreg Hackmann <ghackmann@google.com>2013-12-17 14:45:39 -0800
commit64289760a2df9409d8f4fa5becb4a49f0acb20a5 (patch)
treeb1cf5104c9a1f658bcca05209156702b75b4a888 /trusty/coverage/coverage_test.cpp
parenta585e662e0141d8b3445749ef83b8d9b138d7905 (diff)
SystemClock: use clock_gettime() on devices without /dev/alarm
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>
Diffstat (limited to 'trusty/coverage/coverage_test.cpp')
0 files changed, 0 insertions, 0 deletions