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

Unified Diff: src/log.cc

Issue 2188193002: [api] Remove HistogramTimerScope from high-frequency API-Functions (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: make TimerEventScope inlineable Created 4 years, 5 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/log.h ('k') | src/log-inl.h » ('j') | no next file with comments »
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 f3dff830834dde4d3d0b80664580e4b0b1e1e8cf..83e2ae9f28a287b7260f0f641ab6df4675ae065b 100644
--- a/src/log.cc
+++ b/src/log.cc
@@ -895,14 +895,6 @@ void Logger::LeaveExternal(Isolate* isolate) {
isolate->set_current_vm_state(JS);
}
-
-template <class TimerEvent>
-void TimerEventScope<TimerEvent>::LogTimerEvent(Logger::StartEnd se) {
- Logger::CallEventLogger(isolate_, TimerEvent::name(), se,
- TimerEvent::expose_to_api());
-}
-
-
// Instantiate template methods.
#define V(TimerName, expose) \
template void TimerEventScope<TimerEvent##TimerName>::LogTimerEvent( \
« no previous file with comments | « src/log.h ('k') | src/log-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698