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

Unified Diff: runtime/vm/profiler.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
« no previous file with comments | « no previous file | runtime/vm/profiler.cc » ('j') | runtime/vm/scope_timer.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/profiler.h
diff --git a/runtime/vm/profiler.h b/runtime/vm/profiler.h
index 0c0bb0a82288f5e966c25aaa3acb125931da72d3..d93d648caac43cb72a5256eee3d9a7fd9555ae2d 100644
--- a/runtime/vm/profiler.h
+++ b/runtime/vm/profiler.h
@@ -6,31 +6,24 @@
#define VM_PROFILER_H_
#include "vm/allocation.h"
+#include "vm/bitfield.h"
#include "vm/code_observers.h"
#include "vm/globals.h"
#include "vm/tags.h"
#include "vm/thread_interrupter.h"
+// Profiler sampling and stack walking support.
+// NOTE: For service related code, see profile_service.h.
+
namespace dart {
// Forward declarations.
-class JSONArray;
-class JSONStream;
-class ProfilerCodeRegionTable;
class Sample;
class SampleBuffer;
-// Profiler
+
class Profiler : public AllStatic {
public:
- enum TagOrder {
- kNoTags,
- kUser,
- kUserVM,
- kVM,
- kVMUser
- };
-
static void InitOnce();
static void Shutdown();
@@ -44,9 +37,6 @@ class Profiler : public AllStatic {
static void BeginExecution(Isolate* isolate);
static void EndExecution(Isolate* isolate);
- static void PrintJSON(Isolate* isolate, JSONStream* stream,
- bool full, TagOrder tag_order);
-
static SampleBuffer* sample_buffer() {
return sample_buffer_;
}
« no previous file with comments | « no previous file | runtime/vm/profiler.cc » ('j') | runtime/vm/scope_timer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698