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