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

Unified Diff: runtime/vm/timeline.h

Issue 1504523002: Use a monotonic clock in the implementation of Stopwatch. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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/profiler.cc ('k') | runtime/vm/timeline.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/timeline.h
diff --git a/runtime/vm/timeline.h b/runtime/vm/timeline.h
index 1c618145e6165a85ffa9eb47da58c8cd8daad312..61759ddb523d800880f9e7b7c241ca4e367f295d 100644
--- a/runtime/vm/timeline.h
+++ b/runtime/vm/timeline.h
@@ -129,10 +129,10 @@ class TimelineEvent {
int64_t end_micros);
void Begin(const char* label,
- int64_t micros = OS::GetCurrentTraceMicros());
+ int64_t micros = OS::GetCurrentMonotonicMicros());
void End(const char* label,
- int64_t micros = OS::GetCurrentTraceMicros());
+ int64_t micros = OS::GetCurrentMonotonicMicros());
void SerializedJSON(const char* json);
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/timeline.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698