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

Unified Diff: runtime/vm/profiler.cc

Issue 237683004: Disable applyAuthorStyles (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 months 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
Index: runtime/vm/profiler.cc
diff --git a/runtime/vm/profiler.cc b/runtime/vm/profiler.cc
index b52c5b4863e612788fad10e65c1fb14866c887e4..ca80f9e1b729452a1f483d066beedfb7402014ed 100644
--- a/runtime/vm/profiler.cc
+++ b/runtime/vm/profiler.cc
@@ -1373,7 +1373,8 @@ void Profiler::PrintToJSONStream(Isolate* isolate, JSONStream* stream,
obj.AddProperty("samples", samples);
obj.AddProperty("depth", static_cast<intptr_t>(FLAG_profile_depth));
obj.AddProperty("period", static_cast<intptr_t>(FLAG_profile_period));
- obj.AddProperty("time_delta_micros", builder.TimeDeltaMicros());
+ obj.AddProperty("timeSpan",
+ MicrosecondsToSeconds(builder.TimeDeltaMicros()));
{
JSONArray exclusive_trie(&obj, "exclusive_trie");
CodeRegionTrieNode* root = build_trie.root();

Powered by Google App Engine
This is Rietveld 408576698