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

Unified Diff: runtime/vm/heap.h

Issue 1961033003: Add GC stats to GC timeline events (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/heap.h
diff --git a/runtime/vm/heap.h b/runtime/vm/heap.h
index 1526424a91cccf1a3b5c5f07a55607caa1a0d3ac..c5a7693934030d167b554fcfba1b898c948ddbe6 100644
--- a/runtime/vm/heap.h
+++ b/runtime/vm/heap.h
@@ -22,6 +22,7 @@ class Isolate;
class ObjectPointerVisitor;
class ObjectSet;
class ServiceEvent;
+class TimelineEventScope;
class VirtualMemory;
class Heap {
@@ -327,6 +328,7 @@ class Heap {
void PrintStats();
void UpdateClassHeapStatsBeforeGC(Heap::Space space);
void UpdatePretenurePolicy();
+ void PrintStatsToTimeline(TimelineEventScope* event);
// Updates gc in progress flags.
bool BeginNewSpaceGC(Thread* thread);
« no previous file with comments | « no previous file | runtime/vm/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698