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

Unified Diff: runtime/vm/profiler.h

Issue 2974233002: VM: Re-format to use at most one newline between functions (Closed)
Patch Set: Rebase and merge Created 3 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
« no previous file with comments | « runtime/vm/proccpuinfo.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »
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 75d4515e3dee9e43e5618e2d4a49b95fc3ab452b..8ffa4ecd097c0eaff0276e37607f3a4f66b60d7f 100644
--- a/runtime/vm/profiler.h
+++ b/runtime/vm/profiler.h
@@ -48,7 +48,6 @@ struct ProfilerCounters {
int64_t failure_native_allocation_sample;
};
-
class Profiler : public AllStatic {
public:
static void InitOnce();
@@ -101,7 +100,6 @@ class Profiler : public AllStatic {
friend class Thread;
};
-
class SampleVisitor : public ValueObject {
public:
explicit SampleVisitor(Dart_Port port) : port_(port), visited_(0) {}
@@ -122,7 +120,6 @@ class SampleVisitor : public ValueObject {
DISALLOW_IMPLICIT_CONSTRUCTORS(SampleVisitor);
};
-
class SampleFilter : public ValueObject {
public:
SampleFilter(Dart_Port port,
@@ -160,7 +157,6 @@ class SampleFilter : public ValueObject {
int64_t time_extent_micros_;
};
-
class ClearProfileVisitor : public SampleVisitor {
public:
explicit ClearProfileVisitor(Isolate* isolate);
@@ -168,7 +164,6 @@ class ClearProfileVisitor : public SampleVisitor {
virtual void VisitSample(Sample* sample);
};
-
// Each Sample holds a stack trace from an isolate.
class Sample {
public:
@@ -418,7 +413,6 @@ class Sample {
DISALLOW_COPY_AND_ASSIGN(Sample);
};
-
class NativeAllocationSampleFilter : public SampleFilter {
public:
NativeAllocationSampleFilter(int64_t time_origin_micros,
@@ -440,7 +434,6 @@ class NativeAllocationSampleFilter : public SampleFilter {
}
};
-
// A Code object descriptor.
class CodeDescriptor : public ZoneAllocated {
public:
@@ -483,7 +476,6 @@ class CodeDescriptor : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(CodeDescriptor);
};
-
// Fast lookup of Dart code objects.
class CodeLookupTable : public ZoneAllocated {
public:
@@ -510,7 +502,6 @@ class CodeLookupTable : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(CodeLookupTable);
};
-
// Ring buffer of Samples that is (usually) shared by many isolates.
class SampleBuffer {
public:
@@ -572,7 +563,6 @@ class SampleBuffer {
DISALLOW_COPY_AND_ASSIGN(SampleBuffer);
};
-
class AllocationSampleBuffer : public SampleBuffer {
public:
explicit AllocationSampleBuffer(intptr_t capacity = kDefaultBufferCapacity);
@@ -590,7 +580,6 @@ class AllocationSampleBuffer : public SampleBuffer {
DISALLOW_COPY_AND_ASSIGN(AllocationSampleBuffer);
};
-
// A |ProcessedSample| is a combination of 1 (or more) |Sample|(s) that have
// been merged into a logical sample. The raw data may have been processed to
// improve the quality of the stack trace.
@@ -688,7 +677,6 @@ class ProcessedSample : public ZoneAllocated {
DISALLOW_COPY_AND_ASSIGN(ProcessedSample);
};
-
// A collection of |ProcessedSample|s.
class ProcessedSampleBuffer : public ZoneAllocated {
public:
« no previous file with comments | « runtime/vm/proccpuinfo.cc ('k') | runtime/vm/profiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698