Index: src/log.cc |
diff --git a/src/log.cc b/src/log.cc |
index 1c332d1736318fdccd8f8a313545019df7e6469a..76fef5cd280887e4f41f51f2a696f2b7eb56ce63 100644 |
--- a/src/log.cc |
+++ b/src/log.cc |
@@ -1124,8 +1124,14 @@ void Logger::LeaveExternal(Isolate* isolate) { |
} |
+void Logger::LogInternalEvents(const char* name, int se) { |
+ Isolate* isolate = Isolate::Current(); |
+ LOG(isolate, TimerEvent(static_cast<StartEnd>(se), name)); |
+} |
+ |
+ |
void Logger::TimerEventScope::LogTimerEvent(StartEnd se) { |
- LOG(isolate_, TimerEvent(se, name_)); |
+ isolate_->event_logger()(name_, se); |
} |