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

Unified Diff: src/counters.cc

Issue 1826833002: Reland of [counters] adding runtime call timers for GC (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/counters.h ('k') | src/heap/gc-tracer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/counters.cc
diff --git a/src/counters.cc b/src/counters.cc
index 60c800605ca7da570e053fa99791e8c513d7602d..4f5c251a0cce8a42f5f33e057c4032f493b365cc 100644
--- a/src/counters.cc
+++ b/src/counters.cc
@@ -305,6 +305,7 @@
#undef PRINT_COUNTER
entries.Add(&this->ExternalCallback);
+ entries.Add(&this->GC);
entries.Add(&this->UnexpectedStubMiss);
entries.Print(os);
@@ -319,6 +320,7 @@
BUILTIN_LIST_C(RESET_COUNTER)
#undef RESET_COUNTER
this->ExternalCallback.Reset();
+ this->GC.Reset();
this->UnexpectedStubMiss.Reset();
}
« no previous file with comments | « src/counters.h ('k') | src/heap/gc-tracer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698