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

Unified Diff: runtime/vm/profiler_service.h

Issue 1268803006: Support profiler code transition tags (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 4 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
« no previous file with comments | « no previous file | runtime/vm/profiler_service.cc » ('j') | runtime/vm/profiler_service.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler_service.h
diff --git a/runtime/vm/profiler_service.h b/runtime/vm/profiler_service.h
index 590b84e8f17474eb6de29ec9bb789ce2b866d89a..894b1fde9e71a91fe088249083b7532d97f6f9a7 100644
--- a/runtime/vm/profiler_service.h
+++ b/runtime/vm/profiler_service.h
@@ -300,7 +300,7 @@ class Profile : public ValueObject {
explicit Profile(Isolate* isolate);
// Build a filtered model using |filter| with the specified |tag_order|.
- void Build(SampleFilter* filter, TagOrder tag_order);
+ void Build(SampleFilter* filter, TagOrder tag_order, intptr_t extra_tags = 0);
// After building:
int64_t min_time() const { return min_time_; }
@@ -371,8 +371,13 @@ class ProfileTrieWalker : public ValueObject {
class ProfilerService : public AllStatic {
public:
+ enum {
+ kCodeTransitionTagsBit = (1 << 0),
+ };
+
static void PrintJSON(JSONStream* stream,
- Profile::TagOrder tag_order);
+ Profile::TagOrder tag_order,
+ intptr_t extra_tags);
static void PrintAllocationJSON(JSONStream* stream,
Profile::TagOrder tag_order,
@@ -384,6 +389,7 @@ class ProfilerService : public AllStatic {
static void PrintJSONImpl(Isolate* isolate,
JSONStream* stream,
Profile::TagOrder tag_order,
+ intptr_t extra_tags,
SampleFilter* filter);
};
« no previous file with comments | « no previous file | runtime/vm/profiler_service.cc » ('j') | runtime/vm/profiler_service.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698