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

Unified Diff: src/assembler.cc

Issue 10824032: Enables V8 integration with the Intel VTune performance analysis tool. This allows the VTune profi… (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 8 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
Index: src/assembler.cc
===================================================================
--- src/assembler.cc (revision 12182)
+++ src/assembler.cc (working copy)
@@ -1330,6 +1330,15 @@
gdbjit_lineinfo_->SetPosition(assembler_->pc_offset(), pos, false);
}
#endif
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+ if (VTUNERUNNING) {
+ if (vtunejit_lineinfo_ != NULL) {
+ vtunejit_lineinfo_->AddLineInfo(
danno 2012/08/02 12:38:11 This should trigger an event callback in the API r
+ assembler_->pc_offset(),
+ pos);
+ }
+ }
+#endif
}
@@ -1342,6 +1351,14 @@
gdbjit_lineinfo_->SetPosition(assembler_->pc_offset(), pos, true);
}
#endif
+#ifdef ENABLE_VTUNE_JIT_INTERFACE
+ if (VTUNERUNNING)
+ if (vtunejit_lineinfo_ != NULL) {
+ vtunejit_lineinfo_->AddLineInfo(
+ assembler_->pc_offset(),
+ pos);
+ }
+#endif
}

Powered by Google App Engine
This is Rietveld 408576698