| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 #ifndef VM_PROFILER_SERVICE_H_ |
| 6 #define VM_PROFILER_SERVICE_H_ |
| 7 |
| 8 #include "vm/allocation.h" |
| 9 #include "vm/code_observers.h" |
| 10 #include "vm/globals.h" |
| 11 #include "vm/tags.h" |
| 12 #include "vm/thread_interrupter.h" |
| 13 |
| 14 // Profile VM Service. |
| 15 // NOTE: For sampling and stack walking related code, see profiler.h. |
| 16 |
| 17 namespace dart { |
| 18 |
| 19 // Forward declarations. |
| 20 class JSONArray; |
| 21 class JSONStream; |
| 22 class ProfilerCodeRegionTable; |
| 23 |
| 24 class ProfilerService : public AllStatic { |
| 25 public: |
| 26 enum TagOrder { |
| 27 kNoTags, |
| 28 kUser, |
| 29 kUserVM, |
| 30 kVM, |
| 31 kVMUser |
| 32 }; |
| 33 |
| 34 static void PrintJSON(JSONStream* stream, |
| 35 TagOrder tag_order); |
| 36 }; |
| 37 |
| 38 } // namespace dart |
| 39 |
| 40 #endif // VM_PROFILER_SERVICE_H_ |
| OLD | NEW |