commit | 4f7a710c16dababb6b3b2e80ca489a4354704f1e | [log] [tgz] |
---|---|---|
author | Gousemoodhin Nadaf <gnadaf@codeaurora.org> | Tue Feb 13 19:27:45 2018 +0530 |
committer | Gousemoodhin Nadaf <gnadaf@codeaurora.org> | Wed Feb 21 14:05:45 2018 +0530 |
tree | a94c94037e5d83d5322b8fb489edeb906f4eba22 | |
parent | aa547488a20613e828f7b251f2b32eab4f8d4ed9 [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