commit | bb551fa68ffc57f679b8c914ac856666f0348b77 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Jan 25 16:35:29 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Jan 25 17:11:37 2012 -0800 |
tree | 98bc7c51b0a8c20934bf6ae27574036b616566ae | |
parent | 2748b49cb889f6e2539c77a09064db0459508467 [diff] [blame] |
Collect and output a few dex2oat statistics. Not sure how useful this is. Suggestions welcome. Change-Id: I339de66a9964d18b11a482f549e891a57831e10e
diff --git a/src/utils.cc b/src/utils.cc index dbbca28..531424e 100644 --- a/src/utils.cc +++ b/src/utils.cc
@@ -115,6 +115,10 @@ #endif } +uint64_t NsToMs(uint64_t ns) { + return ns/1000/1000; +} + std::string PrettyDescriptor(const String* java_descriptor) { if (java_descriptor == NULL) { return "null";