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

Unified Diff: src/heap/heap.h

Issue 1375963003: [heap] Add specific timer events for finalizing incremental GCs. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « src/counters.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap/heap.h
diff --git a/src/heap/heap.h b/src/heap/heap.h
index 996af169a0f003030e8191e776a193706124f4ff..715d9b22349031592e255950378c4ee5b5274a43 100644
--- a/src/heap/heap.h
+++ b/src/heap/heap.h
@@ -430,6 +430,7 @@ class GCIdleTimeHeapState;
class GCTracer;
class HeapObjectsFilter;
class HeapStats;
+class HistogramTimer;
class Isolate;
class MemoryReducer;
class ObjectStats;
@@ -1807,6 +1808,14 @@ class Heap {
// objects that die later.
void OverApproximateWeakClosure(const char* gc_reason);
+ // Returns the timer used for a given GC type.
+ // - GCScavenger: young generation GC
+ // - GCCompactor: full GC
+ // - GCFinalzeMC: finalization of incremental full GC
+ // - GCFinalizeMCReduceMemory: finalization of incremental full GC with
+ // memory reduction
+ HistogramTimer* GCTypeTimer(GarbageCollector collector);
+
// ===========================================================================
// Actual GC. ================================================================
// ===========================================================================
« no previous file with comments | « src/counters.h ('k') | src/heap/heap.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698