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" |
8 #include "vm/hash_map.h" | 9 #include "vm/hash_map.h" |
9 #include "vm/log.h" | 10 #include "vm/log.h" |
10 #include "vm/native_symbol.h" | 11 #include "vm/native_symbol.h" |
11 #include "vm/object.h" | 12 #include "vm/object.h" |
12 #include "vm/os.h" | 13 #include "vm/os.h" |
13 #include "vm/profiler.h" | 14 #include "vm/profiler.h" |
14 #include "vm/reusable_handles.h" | 15 #include "vm/reusable_handles.h" |
15 #include "vm/scope_timer.h" | 16 #include "vm/scope_timer.h" |
16 | 17 |
17 namespace dart { | 18 namespace dart { |
(...skipping 2877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2895 // Disable thread interrupts while processing the buffer. | 2896 // Disable thread interrupts while processing the buffer. |
2896 DisableThreadInterruptsScope dtis(thread); | 2897 DisableThreadInterruptsScope dtis(thread); |
2897 | 2898 |
2898 ClearProfileVisitor clear_profile(isolate); | 2899 ClearProfileVisitor clear_profile(isolate); |
2899 sample_buffer->VisitSamples(&clear_profile); | 2900 sample_buffer->VisitSamples(&clear_profile); |
2900 } | 2901 } |
2901 | 2902 |
2902 #endif // !PRODUCT | 2903 #endif // !PRODUCT |
2903 | 2904 |
2904 } // namespace dart | 2905 } // namespace dart |
OLD | NEW |