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

Unified Diff: src/log.cc

Issue 8700008: New approach to Crankshaft decision-making (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: fix function self-optimization; address first comment Created 9 years 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
Index: src/log.cc
diff --git a/src/log.cc b/src/log.cc
index eab26392e340af189db1500a8a77e1c367d2ffdc..7af7223977a86b2703103376b531ad619b076e4e 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -1686,6 +1686,11 @@ void Logger::EnsureTickerStopped() {
}
+void Logger::ResetTickerInterval() {
+ if (ticker_ != NULL) ticker_->ResetInterval(kSamplingIntervalMs);
+}
+
+
FILE* Logger::TearDown() {
if (!is_initialized_) return NULL;
is_initialized_ = false;

Powered by Google App Engine
This is Rietveld 408576698