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 "allocation.h" | 9 #include "allocation.h" |
| 10 #include "globals.h" |
10 #include "objects.h" | 11 #include "objects.h" |
11 #include "platform/elapsed-timer.h" | 12 #include "platform/elapsed-timer.h" |
12 #include "v8globals.h" | |
13 | 13 |
14 namespace v8 { | 14 namespace v8 { |
15 namespace internal { | 15 namespace internal { |
16 | 16 |
17 // StatsCounters is an interface for plugging into external | 17 // StatsCounters is an interface for plugging into external |
18 // counters for monitoring. Counters can be looked up and | 18 // counters for monitoring. Counters can be looked up and |
19 // manipulated by name. | 19 // manipulated by name. |
20 | 20 |
21 class StatsTable { | 21 class StatsTable { |
22 public: | 22 public: |
(...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
680 friend class Isolate; | 680 friend class Isolate; |
681 | 681 |
682 explicit Counters(Isolate* isolate); | 682 explicit Counters(Isolate* isolate); |
683 | 683 |
684 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); | 684 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); |
685 }; | 685 }; |
686 | 686 |
687 } } // namespace v8::internal | 687 } } // namespace v8::internal |
688 | 688 |
689 #endif // V8_COUNTERS_H_ | 689 #endif // V8_COUNTERS_H_ |
OLD | NEW |