| 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_PROFILER_SAMPLER_H_ | 5 #ifndef V8_PROFILER_SAMPLER_H_ |
| 6 #define V8_PROFILER_SAMPLER_H_ | 6 #define V8_PROFILER_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" |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 base::Atomic32 has_processing_thread_; | 123 base::Atomic32 has_processing_thread_; |
| 124 base::Atomic32 active_; | 124 base::Atomic32 active_; |
| 125 PlatformData* data_; // Platform specific data. | 125 PlatformData* data_; // Platform specific data. |
| 126 bool is_counting_samples_; | 126 bool is_counting_samples_; |
| 127 // Counts stack samples taken in JS VM state. | 127 // Counts stack samples taken in JS VM state. |
| 128 unsigned js_and_external_sample_count_; | 128 unsigned js_and_external_sample_count_; |
| 129 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); | 129 DISALLOW_IMPLICIT_CONSTRUCTORS(Sampler); |
| 130 }; | 130 }; |
| 131 | 131 |
| 132 | 132 |
| 133 } } // namespace v8::internal | 133 } // namespace internal |
| 134 } // namespace v8 |
| 134 | 135 |
| 135 #endif // V8_PROFILER_SAMPLER_H_ | 136 #endif // V8_PROFILER_SAMPLER_H_ |
| OLD | NEW |