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

Side by Side Diff: src/counters.h

Issue 2448473002: Add runtime callstats scopes to some internal accessors (Closed)
Patch Set: 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 | « src/accessors.cc ('k') | no next file » | 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/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 653 matching lines...) Expand 10 before | Expand all | Expand 10 after
664 V(UnboundScript_GetSourceMappingURL) \ 664 V(UnboundScript_GetSourceMappingURL) \
665 V(UnboundScript_GetSourceURL) \ 665 V(UnboundScript_GetSourceURL) \
666 V(Value_TypeOf) \ 666 V(Value_TypeOf) \
667 V(ValueDeserializer_ReadHeader) \ 667 V(ValueDeserializer_ReadHeader) \
668 V(ValueDeserializer_ReadValue) \ 668 V(ValueDeserializer_ReadValue) \
669 V(ValueSerializer_WriteValue) 669 V(ValueSerializer_WriteValue)
670 670
671 #define FOR_EACH_MANUAL_COUNTER(V) \ 671 #define FOR_EACH_MANUAL_COUNTER(V) \
672 V(AccessorGetterCallback) \ 672 V(AccessorGetterCallback) \
673 V(AccessorNameGetterCallback) \ 673 V(AccessorNameGetterCallback) \
674 V(AccessorNameGetterCallback_ArrayLength) \
675 V(AccessorNameGetterCallback_BoundFunctionLength) \
676 V(AccessorNameGetterCallback_BoundFunctionName) \
677 V(AccessorNameGetterCallback_FunctionPrototype) \
678 V(AccessorNameGetterCallback_StringLength) \
674 V(AccessorNameSetterCallback) \ 679 V(AccessorNameSetterCallback) \
675 V(Compile) \ 680 V(Compile) \
676 V(CompileCode) \ 681 V(CompileCode) \
677 V(CompileCodeLazy) \ 682 V(CompileCodeLazy) \
678 V(CompileDeserialize) \ 683 V(CompileDeserialize) \
679 V(CompileEval) \ 684 V(CompileEval) \
680 V(CompileFullCode) \ 685 V(CompileFullCode) \
681 V(CompileIgnition) \ 686 V(CompileIgnition) \
682 V(CompilerDispatcher) \ 687 V(CompilerDispatcher) \
683 V(CompileSerialize) \ 688 V(CompileSerialize) \
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after
1273 } 1278 }
1274 1279
1275 Isolate* isolate_ = nullptr; 1280 Isolate* isolate_ = nullptr;
1276 RuntimeCallTimer timer_; 1281 RuntimeCallTimer timer_;
1277 }; 1282 };
1278 1283
1279 } // namespace internal 1284 } // namespace internal
1280 } // namespace v8 1285 } // namespace v8
1281 1286
1282 #endif // V8_COUNTERS_H_ 1287 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/accessors.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698