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

Unified Diff: src/heap.h

Issue 420753002: Added histogram to track distribution of requested idle notifications. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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/heap.cc » ('j') | src/heap.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/heap.h
diff --git a/src/heap.h b/src/heap.h
index e75c7231ffdd9ea90349584f3a21336e50db9506..bee5f1ccc4f5bd84b78732bc3c18cfd1b2723694 100644
--- a/src/heap.h
+++ b/src/heap.h
@@ -2277,6 +2277,11 @@ class Heap {
// deoptimization triggered by garbage collection.
int gcs_since_last_deopt_;
+ static const int kMaxIdleNotificationHistogramSample = 1000;
+
+ // A histogram that displays the distribution of idle notification calls.
+ void* idle_notification_histogram_;
rmcilroy 2014/07/25 09:38:29 I'd probably call this idle_notification_hint_hist
Hannes Payer (out of office) 2014/07/25 10:08:20 Yeah, we do not really have a category for this co
+
#ifdef VERIFY_HEAP
int no_weak_object_verification_scope_depth_;
#endif
« no previous file with comments | « no previous file | src/heap.cc » ('j') | src/heap.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698