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

Unified Diff: src/log.h

Issue 11348298: Take instrumentation overhead into account when plotting. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 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
« no previous file with comments | « src/flag-definitions.h ('k') | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index 12dc9231a009443f172e43d63a88a6d64b86e400..5fab4facd1a59718822fb5fcb9631c012d77afd8 100644
--- a/src/log.h
+++ b/src/log.h
@@ -287,11 +287,11 @@ class Logger {
public:
TimerEventScope(Isolate* isolate, const char* name)
: isolate_(isolate), name_(name), start_(0) {
- if (FLAG_log_timer_events) start_ = OS::Ticks();
+ if (FLAG_log_internal_timer_events) start_ = OS::Ticks();
}
~TimerEventScope() {
- if (FLAG_log_timer_events) LogTimerEvent();
+ if (FLAG_log_internal_timer_events) LogTimerEvent();
}
void LogTimerEvent();
« no previous file with comments | « src/flag-definitions.h ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698