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

Unified Diff: src/globals.h

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/globals.h
diff --git a/src/globals.h b/src/globals.h
index fe08adad2c348b0d44e781bb6b4e819034d76c5a..3d48e2d78df117532c760471bcb3001db086d97a 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -458,7 +458,7 @@ struct AccessorDescriptor {
// Logging and profiling.
// A StateTag represents a possible state of the VM. When compiled with
-// ENABLE_LOGGING_AND_PROFILING, the logger maintains a stack of these.
+// ENABLE_VMSTATE_TRACKING, the logger maintains a stack of these.
// Creating a VMState object enters a state by pushing on the stack, and
// destroying a VMState object leaves a state by popping the current state
// from the stack.
@@ -471,11 +471,6 @@ struct AccessorDescriptor {
V(EXTERNAL)
enum StateTag {
-#ifdef ENABLE_CPP_PROFILES_PROCESSOR
- // This is to ensure that VM state field value of TickSample
- // never gets equal to SamplingCircularQueue::kClear.
- NULL_STATE = 0,
-#endif
#define DEF_STATE_TAG(name) name,
STATE_TAG_LIST(DEF_STATE_TAG)
#undef DEF_STATE_TAG
« src/cpu-profiler-inl.h ('K') | « src/flag-definitions.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698