OLD | NEW |
1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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_ARM64_INSTRUMENT_ARM64_H_ | 5 #ifndef V8_ARM64_INSTRUMENT_ARM64_H_ |
6 #define V8_ARM64_INSTRUMENT_ARM64_H_ | 6 #define V8_ARM64_INSTRUMENT_ARM64_H_ |
7 | 7 |
8 #include "src/globals.h" | 8 #include "src/globals.h" |
9 #include "src/utils.h" | 9 #include "src/utils.h" |
| 10 |
| 11 #include "src/arm64/constants-arm64.h" |
10 #include "src/arm64/decoder-arm64.h" | 12 #include "src/arm64/decoder-arm64.h" |
11 #include "src/arm64/constants-arm64.h" | |
12 | 13 |
13 namespace v8 { | 14 namespace v8 { |
14 namespace internal { | 15 namespace internal { |
15 | 16 |
16 const int kCounterNameMaxLength = 256; | 17 const int kCounterNameMaxLength = 256; |
17 const uint64_t kDefaultInstrumentationSamplingPeriod = 1 << 22; | 18 const uint64_t kDefaultInstrumentationSamplingPeriod = 1 << 22; |
18 | 19 |
19 | 20 |
20 enum InstrumentState { | 21 enum InstrumentState { |
21 InstrumentStateDisable = 0, | 22 InstrumentStateDisable = 0, |
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 76 |
76 std::list<Counter*> counters_; | 77 std::list<Counter*> counters_; |
77 | 78 |
78 FILE *output_stream_; | 79 FILE *output_stream_; |
79 uint64_t sample_period_; | 80 uint64_t sample_period_; |
80 }; | 81 }; |
81 | 82 |
82 } } // namespace v8::internal | 83 } } // namespace v8::internal |
83 | 84 |
84 #endif // V8_ARM64_INSTRUMENT_ARM64_H_ | 85 #endif // V8_ARM64_INSTRUMENT_ARM64_H_ |
OLD | NEW |