| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #include "vm/profiler_service.h" | 5 #include "vm/profiler_service.h" |
| 6 | 6 |
| 7 #include "vm/growable_array.h" | 7 #include "vm/growable_array.h" |
| 8 #include "vm/handles_impl.h" | |
| 9 #include "vm/hash_map.h" | 8 #include "vm/hash_map.h" |
| 10 #include "vm/log.h" | 9 #include "vm/log.h" |
| 11 #include "vm/native_symbol.h" | 10 #include "vm/native_symbol.h" |
| 12 #include "vm/object.h" | 11 #include "vm/object.h" |
| 13 #include "vm/os.h" | 12 #include "vm/os.h" |
| 14 #include "vm/profiler.h" | 13 #include "vm/profiler.h" |
| 15 #include "vm/reusable_handles.h" | 14 #include "vm/reusable_handles.h" |
| 16 #include "vm/scope_timer.h" | 15 #include "vm/scope_timer.h" |
| 17 | 16 |
| 18 namespace dart { | 17 namespace dart { |
| (...skipping 2881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2900 // Disable thread interrupts while processing the buffer. | 2899 // Disable thread interrupts while processing the buffer. |
| 2901 DisableThreadInterruptsScope dtis(thread); | 2900 DisableThreadInterruptsScope dtis(thread); |
| 2902 | 2901 |
| 2903 ClearProfileVisitor clear_profile(isolate); | 2902 ClearProfileVisitor clear_profile(isolate); |
| 2904 sample_buffer->VisitSamples(&clear_profile); | 2903 sample_buffer->VisitSamples(&clear_profile); |
| 2905 } | 2904 } |
| 2906 | 2905 |
| 2907 #endif // !PRODUCT | 2906 #endif // !PRODUCT |
| 2908 | 2907 |
| 2909 } // namespace dart | 2908 } // namespace dart |
| OLD | NEW |