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

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

Issue 1310463005: - Ensure that HandleScope is initialized with a thread. (Remove (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address review comments Created 5 years, 3 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
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « runtime/vm/object_test.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698