| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VM_METRICS_H_ | 5 #ifndef RUNTIME_VM_METRICS_H_ |
| 6 #define VM_METRICS_H_ | 6 #define RUNTIME_VM_METRICS_H_ |
| 7 | 7 |
| 8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
| 9 | 9 |
| 10 namespace dart { | 10 namespace dart { |
| 11 | 11 |
| 12 class Isolate; | 12 class Isolate; |
| 13 class JSONStream; | 13 class JSONStream; |
| 14 | 14 |
| 15 // Metrics for each isolate. | 15 // Metrics for each isolate. |
| 16 #define ISOLATE_METRIC_LIST(V) \ | 16 #define ISOLATE_METRIC_LIST(V) \ |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 172 }; | 172 }; |
| 173 | 173 |
| 174 | 174 |
| 175 class MetricHeapUsed : public Metric { | 175 class MetricHeapUsed : public Metric { |
| 176 protected: | 176 protected: |
| 177 virtual int64_t Value() const; | 177 virtual int64_t Value() const; |
| 178 }; | 178 }; |
| 179 | 179 |
| 180 } // namespace dart | 180 } // namespace dart |
| 181 | 181 |
| 182 #endif // VM_METRICS_H_ | 182 #endif // RUNTIME_VM_METRICS_H_ |
| OLD | NEW |