commit | 7dab1c1e762be704f0faf4355a79102b82ced256 | [log] [tgz] |
---|---|---|
author | Gousemoodhin Nadaf <gnadaf@codeaurora.org> | Tue Feb 13 19:27:45 2018 +0530 |
committer | Gerrit - the friendly Code Review server <code-review@localhost> | Tue Feb 27 02:46:17 2018 -0800 |
tree | 9146354bbd5d2db0175bbce8462ce82bf364abb9 | |
parent | 6f3e3f2e42fa8ee9eeae9cce670da79e3664d4f6 [diff] |
sdm: Use monotonic clock in HAL gettimeofday() function returns wall clock time which can change if the time is updated using NTP etc. Use clock_gettime() function to get monotonic clock time to safely and reliably measure elapsed time in a program. CRs-Fixed: 2190449 Change-Id: Icc7e470b6427db58837473039d0537748de5b2aa