| 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_SAMPLER_H_ | 5 #ifndef V8_SAMPLER_H_ |
| 6 #define V8_SAMPLER_H_ | 6 #define V8_SAMPLER_H_ |
| 7 | 7 |
| 8 #include "include/v8.h" | 8 #include "include/v8.h" |
| 9 | 9 |
| 10 #include "src/base/atomicops.h" | 10 #include "src/base/atomicops.h" |
| 11 #include "src/base/platform/time.h" |
| 11 #include "src/frames.h" | 12 #include "src/frames.h" |
| 12 #include "src/globals.h" | 13 #include "src/globals.h" |
| 13 | 14 |
| 14 namespace v8 { | 15 namespace v8 { |
| 15 namespace internal { | 16 namespace internal { |
| 16 | 17 |
| 17 class Isolate; | 18 class Isolate; |
| 18 | 19 |
| 19 // ---------------------------------------------------------------------------- | 20 // ---------------------------------------------------------------------------- |
| 20 // Sampler | 21 // Sampler |
| (...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 bool is_counting_samples_; | 126 bool is_counting_samples_; |
| 126 // Counts stack samples taken in JS VM state. | 127 // Counts stack samples taken in JS VM state. |
| 127 unsigned js_and_external_sample_count_; | 128 unsigned js_and_external_sample_count_; |
| 128 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); | 129 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); |
| 129 }; | 130 }; |
| 130 | 131 |
| 131 | 132 |
| 132 } } // namespace v8::internal | 133 } } // namespace v8::internal |
| 133 | 134 |
| 134 #endif // V8_SAMPLER_H_ | 135 #endif // V8_SAMPLER_H_ |
| OLD | NEW |