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

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

Issue 2713803003: Revert "Updated MallocHooks to collect stack traces when memory is allocated." (Closed)
Patch Set: Created 3 years, 9 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/profiler.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 RUNTIME_VM_PROFILER_SERVICE_H_ 5 #ifndef RUNTIME_VM_PROFILER_SERVICE_H_
6 #define RUNTIME_VM_PROFILER_SERVICE_H_ 6 #define RUNTIME_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 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
412 intptr_t extra_tags, 412 intptr_t extra_tags,
413 int64_t time_origin_micros, 413 int64_t time_origin_micros,
414 int64_t time_extent_micros); 414 int64_t time_extent_micros);
415 415
416 static void PrintAllocationJSON(JSONStream* stream, 416 static void PrintAllocationJSON(JSONStream* stream,
417 Profile::TagOrder tag_order, 417 Profile::TagOrder tag_order,
418 const Class& cls, 418 const Class& cls,
419 int64_t time_origin_micros, 419 int64_t time_origin_micros,
420 int64_t time_extent_micros); 420 int64_t time_extent_micros);
421 421
422 static void PrintNativeAllocationJSON(JSONStream* stream,
423 Profile::TagOrder tag_order,
424 int64_t time_origin_micros,
425 int64_t time_extent_micros);
426
427 static void PrintTimelineJSON(JSONStream* stream, 422 static void PrintTimelineJSON(JSONStream* stream,
428 Profile::TagOrder tag_order, 423 Profile::TagOrder tag_order,
429 int64_t time_origin_micros, 424 int64_t time_origin_micros,
430 int64_t time_extent_micros); 425 int64_t time_extent_micros);
431 426
432 static void ClearSamples(); 427 static void ClearSamples();
433 428
434 private: 429 private:
435 static void PrintJSONImpl(Thread* thread, 430 static void PrintJSONImpl(Thread* thread,
436 JSONStream* stream, 431 JSONStream* stream,
437 Profile::TagOrder tag_order, 432 Profile::TagOrder tag_order,
438 intptr_t extra_tags, 433 intptr_t extra_tags,
439 SampleFilter* filter, 434 SampleFilter* filter,
440 bool as_timline); 435 bool as_timline);
441 }; 436 };
442 437
443 } // namespace dart 438 } // namespace dart
444 439
445 #endif // RUNTIME_VM_PROFILER_SERVICE_H_ 440 #endif // RUNTIME_VM_PROFILER_SERVICE_H_
OLDNEW
« no previous file with comments | « runtime/vm/profiler.cc ('k') | runtime/vm/profiler_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698