commit | 891fdcf7193af9f5d31815e1c7343fdd7e124123 | [log] [tgz] |
---|---|---|
author | Roland Levillain <rpl@google.com> | Mon Dec 17 15:16:56 2018 +0000 |
committer | Roland Levillain <rpl@google.com> | Mon Dec 17 18:00:18 2018 +0000 |
tree | 5fd8c6fd2a845cdf032758165a2eaed136bd609d | |
parent | 570886357e2c91ac913f34abdaf559432ce00853 [diff] |
Handle art::ProcessCpuNanoTime invocations on macOS. Return the process wall clock time instead as an approximation of the process CPU time, as we cannot reliably use clock_gettime() on all versions of macOS. Test: m dex2oat (on macOS) Bug: 121130576 Change-Id: I2f1d2d9766e7a57b27d8d823ba22da46c308f88c