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

Unified Diff: runtime/vm/profiler_service.h

Issue 1231603008: Expose allocation tracing over service protocol (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 5 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_service.h
diff --git a/runtime/vm/profiler_service.h b/runtime/vm/profiler_service.h
index d281a84d3803db5baa65fc517a09b2b51a12c30d..7990b4dc55e53caf69086dcc4ca32b1921133624 100644
--- a/runtime/vm/profiler_service.h
+++ b/runtime/vm/profiler_service.h
@@ -366,7 +366,17 @@ class ProfilerService : public AllStatic {
static void PrintJSON(JSONStream* stream,
Profile::TagOrder tag_order);
+ static void PrintAllocationJSON(JSONStream* stream,
+ Profile::TagOrder tag_order,
+ const Class& cls);
+
static void ClearSamples();
+
+ private:
+ static void PrintJSONImpl(Isolate* isolate,
+ JSONStream* stream,
+ Profile::TagOrder tag_order,
+ SampleFilter* filter);
};
} // namespace dart

Powered by Google App Engine
This is Rietveld 408576698