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 #ifndef VM_PROFILER_SERVICE_H_ | 5 #ifndef VM_PROFILER_SERVICE_H_ |
6 #define VM_PROFILER_SERVICE_H_ | 6 #define VM_PROFILER_SERVICE_H_ |
7 | 7 |
8 #include "vm/allocation.h" | 8 #include "vm/allocation.h" |
9 #include "vm/code_observers.h" | 9 #include "vm/code_observers.h" |
10 #include "vm/globals.h" | 10 #include "vm/globals.h" |
(...skipping 15 matching lines...) Expand all Loading... |
26 enum TagOrder { | 26 enum TagOrder { |
27 kNoTags, | 27 kNoTags, |
28 kUser, | 28 kUser, |
29 kUserVM, | 29 kUserVM, |
30 kVM, | 30 kVM, |
31 kVMUser | 31 kVMUser |
32 }; | 32 }; |
33 | 33 |
34 static void PrintJSON(JSONStream* stream, | 34 static void PrintJSON(JSONStream* stream, |
35 TagOrder tag_order); | 35 TagOrder tag_order); |
| 36 |
| 37 static void ClearSamples(); |
36 }; | 38 }; |
37 | 39 |
38 } // namespace dart | 40 } // namespace dart |
39 | 41 |
40 #endif // VM_PROFILER_SERVICE_H_ | 42 #endif // VM_PROFILER_SERVICE_H_ |
OLD | NEW |