Chromium Code Reviews

Unified Diff: src/log.cc

Issue 186163002: Add support for allowing an embedder to get the V8 profile timer event logs. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « src/log.h ('k') | src/v8.cc » ('j') | src/v8.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.cc
diff --git a/src/log.cc b/src/log.cc
index 1c332d1736318fdccd8f8a313545019df7e6469a..91491a169e667d8e398d7f76a6d23f3f108bc4ca 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -1125,7 +1125,7 @@ void Logger::LeaveExternal(Isolate* isolate) {
void Logger::TimerEventScope::LogTimerEvent(StartEnd se) {
- LOG(isolate_, TimerEvent(se, name_));
+ isolate_->event_logger()(name_, se);
}
« no previous file with comments | « src/log.h ('k') | src/v8.cc » ('j') | src/v8.cc » ('J')

Powered by Google App Engine