Revert "Avoid using NanoTime for compiler and verifier"
This reverts commit c89e6edbdce97c7d199b54bf63aed7ea01ebf1ff.
Change-Id: Id3b89121a19e64bf3c457c39b375f3d3c0fcc579
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index 8a69c7e..c1610c2 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -61,7 +61,7 @@
namespace art {
-static constexpr bool kTimeCompileMethod = false;
+static constexpr bool kTimeCompileMethod = !kIsDebugBuild;
static double Percentage(size_t x, size_t y) {
return 100.0 * (static_cast<double>(x)) / (static_cast<double>(x + y));