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

Unified Diff: runtime/vm/service.cc

Issue 1210333002: Make CPU profile models public and refactor model building code (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 6 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 | « runtime/vm/profiler_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/service.cc
diff --git a/runtime/vm/service.cc b/runtime/vm/service.cc
index 25de978a1f27f1f953df77fde8f2dc7294e240e8..b8768e12add683722460aeb8c462aba78486eb5a 100644
--- a/runtime/vm/service.cc
+++ b/runtime/vm/service.cc
@@ -2224,13 +2224,13 @@ static const char* tags_enum_names[] = {
};
-static ProfilerService::TagOrder tags_enum_values[] = {
- ProfilerService::kNoTags,
- ProfilerService::kUserVM,
- ProfilerService::kUser,
- ProfilerService::kVMUser,
- ProfilerService::kVM,
- ProfilerService::kNoTags, // Default value.
+static Profile::TagOrder tags_enum_values[] = {
+ Profile::kNoTags,
+ Profile::kUserVM,
+ Profile::kUser,
+ Profile::kVMUser,
+ Profile::kVM,
+ Profile::kNoTags, // Default value.
};
@@ -2242,7 +2242,7 @@ static const MethodParameter* get_cpu_profile_params[] = {
static bool GetCpuProfile(Isolate* isolate, JSONStream* js) {
- ProfilerService::TagOrder tag_order =
+ Profile::TagOrder tag_order =
EnumMapper(js->LookupParam("tags"), tags_enum_names, tags_enum_values);
ProfilerService::PrintJSON(js, tag_order);
return true;
« no previous file with comments | « runtime/vm/profiler_service.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698