summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorRoland Levillain <rpl@google.com>2018-12-17 15:16:56 +0000
committerRoland Levillain <rpl@google.com>2018-12-17 18:00:18 +0000
commit891fdcf7193af9f5d31815e1c7343fdd7e124123 (patch)
tree5fd8c6fd2a845cdf032758165a2eaed136bd609d /compiler/optimizing/graph_visualizer.cc
parent570886357e2c91ac913f34abdaf559432ce00853 (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
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions