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

Unified Diff: runtime/vm/profiler_service.h

Issue 864173008: Split profiler.cc into profiler.cc and profiler_service.cc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 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
new file mode 100644
index 0000000000000000000000000000000000000000..80c2b49405839661ad29e9e44da8f66b0e317208
--- /dev/null
+++ b/runtime/vm/profiler_service.h
@@ -0,0 +1,40 @@
+// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+#ifndef VM_PROFILER_SERVICE_H_
+#define VM_PROFILER_SERVICE_H_
+
+#include "vm/allocation.h"
+#include "vm/code_observers.h"
+#include "vm/globals.h"
+#include "vm/tags.h"
+#include "vm/thread_interrupter.h"
+
+// Profile VM Service.
+// NOTE: For sampling and stack walking related code, see profiler.h.
+
+namespace dart {
+
+// Forward declarations.
+class JSONArray;
+class JSONStream;
+class ProfilerCodeRegionTable;
+
+class ProfilerService : public AllStatic {
+ public:
+ enum TagOrder {
+ kNoTags,
+ kUser,
+ kUserVM,
+ kVM,
+ kVMUser
+ };
+
+ static void PrintJSON(JSONStream* stream,
+ TagOrder tag_order);
+};
+
+} // namespace dart
+
+#endif // VM_PROFILER_SERVICE_H_
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/profiler_service.cc » ('j') | runtime/vm/scope_timer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698