Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(538)

Unified Diff: runtime/vm/thread.cc

Issue 2583663002: Internally measure isolate uptime with monotonic time. (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/thread.cc
diff --git a/runtime/vm/thread.cc b/runtime/vm/thread.cc
index c8c63c58ab1912482be3706bc55d3ba673562583..6fca06bb410156cc77273f1db3363e7d21cd6c2a 100644
--- a/runtime/vm/thread.cc
+++ b/runtime/vm/thread.cc
@@ -508,7 +508,7 @@ void Thread::DeferOOBMessageInterrupts() {
}
if (FLAG_trace_service && FLAG_trace_service_verbose) {
OS::Print("[+%" Pd64 "ms] Isolate %s deferring OOB interrupts\n",
- Dart::timestamp(), isolate()->name());
+ Dart::UptimeMillis(), isolate()->name());
}
}
@@ -531,7 +531,7 @@ void Thread::RestoreOOBMessageInterrupts() {
}
if (FLAG_trace_service && FLAG_trace_service_verbose) {
OS::Print("[+%" Pd64 "ms] Isolate %s restoring OOB interrupts\n",
- Dart::timestamp(), isolate()->name());
+ Dart::UptimeMillis(), isolate()->name());
}
}
« no previous file with comments | « runtime/vm/service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698