Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(299)

Side by Side Diff: runtime/vm/profiler_service.h

Issue 864173008: Split profiler.cc into profiler.cc and profiler_service.cc (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_
OLDNEW
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/profiler_service.cc » ('j') | runtime/vm/scope_timer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698