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

Unified Diff: src/globals.h

Issue 1523015: C++ profiles processor: align browser mode with the old implementation, sample VM state. (Closed)
Patch Set: Using Script::type to filter out native scripts. 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
« no previous file with comments | « src/cpu-profiler-inl.h ('k') | src/log.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/globals.h
diff --git a/src/globals.h b/src/globals.h
index ea74b5d3303029824d5e07bef591afd73f24c4de..fe08adad2c348b0d44e781bb6b4e819034d76c5a 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -471,6 +471,11 @@ 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
« no previous file with comments | « src/cpu-profiler-inl.h ('k') | src/log.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698