| 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 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 380 Profile::TagOrder tag_order, | 380 Profile::TagOrder tag_order, |
| 381 intptr_t extra_tags); | 381 intptr_t extra_tags); |
| 382 | 382 |
| 383 static void PrintAllocationJSON(JSONStream* stream, | 383 static void PrintAllocationJSON(JSONStream* stream, |
| 384 Profile::TagOrder tag_order, | 384 Profile::TagOrder tag_order, |
| 385 const Class& cls); | 385 const Class& cls); |
| 386 | 386 |
| 387 static void ClearSamples(); | 387 static void ClearSamples(); |
| 388 | 388 |
| 389 private: | 389 private: |
| 390 static void PrintJSONImpl(Isolate* isolate, | 390 static void PrintJSONImpl(Thread* thread, |
| 391 JSONStream* stream, | 391 JSONStream* stream, |
| 392 Profile::TagOrder tag_order, | 392 Profile::TagOrder tag_order, |
| 393 intptr_t extra_tags, | 393 intptr_t extra_tags, |
| 394 SampleFilter* filter); | 394 SampleFilter* filter); |
| 395 }; | 395 }; |
| 396 | 396 |
| 397 } // namespace dart | 397 } // namespace dart |
| 398 | 398 |
| 399 #endif // VM_PROFILER_SERVICE_H_ | 399 #endif // VM_PROFILER_SERVICE_H_ |
| OLD | NEW |