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

Side by Side Diff: src/counters.h

Issue 2509683002: [counters] Use separate counters for background parsing (Closed)
Patch Set: using const arrays instead of two-level ternary syntax. Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/parsing/parser.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_COUNTERS_H_ 5 #ifndef V8_COUNTERS_H_
6 #define V8_COUNTERS_H_ 6 #define V8_COUNTERS_H_
7 7
8 #include "include/v8.h" 8 #include "include/v8.h"
9 #include "src/allocation.h" 9 #include "src/allocation.h"
10 #include "src/base/atomic-utils.h" 10 #include "src/base/atomic-utils.h"
(...skipping 710 matching lines...) Expand 10 before | Expand all | Expand 10 after
721 V(IndexedPropertySetterCallback) \ 721 V(IndexedPropertySetterCallback) \
722 V(InvokeApiInterruptCallbacks) \ 722 V(InvokeApiInterruptCallbacks) \
723 V(InvokeFunctionCallback) \ 723 V(InvokeFunctionCallback) \
724 V(JS_Execution) \ 724 V(JS_Execution) \
725 V(Map_SetPrototype) \ 725 V(Map_SetPrototype) \
726 V(Map_TransitionToAccessorProperty) \ 726 V(Map_TransitionToAccessorProperty) \
727 V(Map_TransitionToDataProperty) \ 727 V(Map_TransitionToDataProperty) \
728 V(Object_DeleteProperty) \ 728 V(Object_DeleteProperty) \
729 V(OptimizeCode) \ 729 V(OptimizeCode) \
730 V(ParseArrowFunctionLiteral) \ 730 V(ParseArrowFunctionLiteral) \
731 V(ParseBackgroundArrowFunctionLiteral) \
732 V(ParseBackgroundFunctionLiteral) \
731 V(ParseEval) \ 733 V(ParseEval) \
732 V(ParseFunction) \ 734 V(ParseFunction) \
733 V(ParseFunctionLiteral) \ 735 V(ParseFunctionLiteral) \
734 V(ParseProgram) \ 736 V(ParseProgram) \
735 V(PreParseArrowFunctionLiteral) \ 737 V(PreParseArrowFunctionLiteral) \
738 V(PreParseBackgroundArrowFunctionLiteral) \
739 V(PreParseBackgroundNoVariableResolution) \
740 V(PreParseBackgroundWithVariableResolution) \
736 V(PreParseNoVariableResolution) \ 741 V(PreParseNoVariableResolution) \
737 V(PreParseWithVariableResolution) \ 742 V(PreParseWithVariableResolution) \
738 V(PropertyCallback) \ 743 V(PropertyCallback) \
739 V(PrototypeMap_TransitionToAccessorProperty) \ 744 V(PrototypeMap_TransitionToAccessorProperty) \
740 V(PrototypeMap_TransitionToDataProperty) \ 745 V(PrototypeMap_TransitionToDataProperty) \
741 V(PrototypeObject_DeleteProperty) \ 746 V(PrototypeObject_DeleteProperty) \
742 V(RecompileConcurrent) \ 747 V(RecompileConcurrent) \
743 V(RecompileSynchronous) \ 748 V(RecompileSynchronous) \
744 /* Dummy counter for the unexpected stub miss. */ \ 749 /* Dummy counter for the unexpected stub miss. */ \
745 V(UnexpectedStubMiss) 750 V(UnexpectedStubMiss)
(...skipping 579 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 } 1330 }
1326 1331
1327 RuntimeCallStats* stats_ = nullptr; 1332 RuntimeCallStats* stats_ = nullptr;
1328 RuntimeCallTimer timer_; 1333 RuntimeCallTimer timer_;
1329 }; 1334 };
1330 1335
1331 } // namespace internal 1336 } // namespace internal
1332 } // namespace v8 1337 } // namespace v8
1333 1338
1334 #endif // V8_COUNTERS_H_ 1339 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « no previous file | src/parsing/parser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698