| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef V8_COUNTERS_H_ | 5 #ifndef V8_COUNTERS_H_ |
| 6 #define V8_COUNTERS_H_ | 6 #define V8_COUNTERS_H_ |
| 7 | 7 |
| 8 #include "include/v8.h" | 8 #include "include/v8.h" |
| 9 #include "src/allocation.h" | 9 #include "src/allocation.h" |
| 10 #include "src/base/platform/elapsed-timer.h" | 10 #include "src/base/platform/elapsed-timer.h" |
| 11 #include "src/base/platform/time.h" | 11 #include "src/base/platform/time.h" |
| 12 #include "src/builtins.h" | 12 #include "src/builtins/builtins.h" |
| 13 #include "src/globals.h" | 13 #include "src/globals.h" |
| 14 #include "src/objects.h" | 14 #include "src/objects.h" |
| 15 #include "src/runtime/runtime.h" | 15 #include "src/runtime/runtime.h" |
| 16 | 16 |
| 17 namespace v8 { | 17 namespace v8 { |
| 18 namespace internal { | 18 namespace internal { |
| 19 | 19 |
| 20 // StatsCounters is an interface for plugging into external | 20 // StatsCounters is an interface for plugging into external |
| 21 // counters for monitoring. Counters can be looked up and | 21 // counters for monitoring. Counters can be looked up and |
| 22 // manipulated by name. | 22 // manipulated by name. |
| (...skipping 1214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 | 1237 |
| 1238 explicit Counters(Isolate* isolate); | 1238 explicit Counters(Isolate* isolate); |
| 1239 | 1239 |
| 1240 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 1240 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
| 1241 }; | 1241 }; |
| 1242 | 1242 |
| 1243 } // namespace internal | 1243 } // namespace internal |
| 1244 } // namespace v8 | 1244 } // namespace v8 |
| 1245 | 1245 |
| 1246 #endif // V8_COUNTERS_H_ | 1246 #endif // V8_COUNTERS_H_ |
| OLD | NEW |