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

Unified Diff: src/counters.h

Issue 934773002: Add historgram for number of GC needed to collect a detached context. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Make tracking default, add tracing, and fix a bug. 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.h
diff --git a/src/counters.h b/src/counters.h
index 8e7c9e7ff2dd615aa9cd51cc5b01d8b653e5548c..539b182915caf8423f39286cb83b2a15701a08c4 100644
--- a/src/counters.h
+++ b/src/counters.h
@@ -360,6 +360,7 @@ class AggregatedHistogramTimerScope {
#define HISTOGRAM_RANGE_LIST(HR) \
/* Generic range histograms */ \
+ HR(detached_context_age_in_gc, V8.DetachedContextAgeInGC, 0, 20, 21) \
HR(gc_idle_time_allotted_in_ms, V8.GCIdleTimeAllottedInMS, 0, 10000, 101) \
HR(gc_idle_time_limit_overshot, V8.GCIdleTimeLimit.Overshot, 0, 10000, 101) \
HR(gc_idle_time_limit_undershot, V8.GCIdleTimeLimit.Undershot, 0, 10000, \
« no previous file with comments | « no previous file | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698