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

Unified Diff: runtime/vm/metrics.h

Issue 2481873005: clang-format runtime/vm (Closed)
Patch Set: Merge Created 4 years, 1 month 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/method_recognizer.cc ('k') | runtime/vm/metrics.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/metrics.h
diff --git a/runtime/vm/metrics.h b/runtime/vm/metrics.h
index 66945852f17a2201033859c938f62a0dfae0b2e9..fd4449bcabb241281731b43cdcba31bd9a363ef6 100644
--- a/runtime/vm/metrics.h
+++ b/runtime/vm/metrics.h
@@ -25,7 +25,7 @@ class JSONStream;
V(MaxMetric, HeapNewCapacityMax, "heap.new.capacity.max", kByte) \
V(MetricHeapNewExternal, HeapNewExternal, "heap.new.external", kByte) \
V(MetricHeapUsed, HeapGlobalUsed, "heap.global.used", kByte) \
- V(MaxMetric, HeapGlobalUsedMax, "heap.global.used.max", kByte) \
+ V(MaxMetric, HeapGlobalUsedMax, "heap.global.used.max", kByte)
#define VM_METRIC_LIST(V) \
V(MetricIsolateCount, IsolateCount, "vm.isolate.count", kCounter)
@@ -50,9 +50,7 @@ class Metric {
Unit unit);
// Initialize and register a metric for the VM.
- void Init(const char* name,
- const char* description,
- Unit unit);
+ void Init(const char* name, const char* description, Unit unit);
virtual ~Metric();
@@ -72,9 +70,7 @@ class Metric {
void increment() { value_++; }
Metric* next() const { return next_; }
- void set_next(Metric* next) {
- next_ = next;
- }
+ void set_next(Metric* next) { next_ = next; }
const char* name() const { return name_; }
const char* description() const { return description_; }
« no previous file with comments | « runtime/vm/method_recognizer.cc ('k') | runtime/vm/metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698