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

Unified Diff: src/v8.cc

Issue 1635005: Allow new CPU profiling subsystem to coexist nicely with the old one. (Closed)
Patch Set: Fix TickSampleEvent Created 10 years, 8 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/v8.cc
diff --git a/src/v8.cc b/src/v8.cc
index dd98e6155ddfdaf735a8b01520d9060aad9262bf..b000c053972c7ddee4a50dea9733c7f9d52710be 100644
--- a/src/v8.cc
+++ b/src/v8.cc
@@ -62,12 +62,6 @@ bool V8::Initialize(Deserializer* des) {
CpuProfiler::Setup();
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR
- if (FLAG_prof && FLAG_prof_auto) {
- CpuProfiler::StartProfiling("internal.auto");
- }
-#endif
-
// Setup the platform OS support.
OS::Setup();
@@ -143,12 +137,6 @@ void V8::SetFatalError() {
void V8::TearDown() {
if (!has_been_setup_ || has_been_disposed_) return;
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR
- if (FLAG_prof && FLAG_prof_auto) {
- CpuProfiler::StopProfiling("internal.auto");
- }
-#endif
-
OProfileAgent::TearDown();
if (FLAG_preemption) {

Powered by Google App Engine
This is Rietveld 408576698