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

Unified Diff: src/v8.cc

Issue 11574031: Intel VTune integration for V8/D8 (Closed) Base URL: http://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
Index: src/v8.cc
===================================================================
--- src/v8.cc (revision 13219)
+++ src/v8.cc (working copy)
@@ -45,6 +45,10 @@
#include "serialize.h"
#include "store-buffer.h"
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+#include "third_party/vtune/vtune-jit.h"
+#endif
+
namespace v8 {
namespace internal {
@@ -82,7 +86,10 @@
i::Isolate::Current());
if (IsDead()) return false;
-
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+ if (i::FLAG_jit_profile)
danno 2012/12/20 16:34:38 My primary feedback about this patch is that the e
+ v8::V8::SetJitCodeEventHandler(v8::kJitCodeEventDefault, i::VTUNEJITInterface::event_handler);
+#endif
Isolate* isolate = Isolate::Current();
if (isolate->IsInitialized()) return true;

Powered by Google App Engine
This is Rietveld 408576698