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

Side by Side Diff: src/counters.h

Issue 2145413002: [builtins] unify builtins list. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix typos Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « src/builtins/builtins.cc ('k') | src/counters.cc » ('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/platform/elapsed-timer.h" 10 #include "src/base/platform/elapsed-timer.h"
(...skipping 730 matching lines...) Expand 10 before | Expand all | Expand 10 after
741 typedef RuntimeCallCounter RuntimeCallStats::*CounterId; 741 typedef RuntimeCallCounter RuntimeCallStats::*CounterId;
742 742
743 #define CALL_RUNTIME_COUNTER(name) \ 743 #define CALL_RUNTIME_COUNTER(name) \
744 RuntimeCallCounter name = RuntimeCallCounter(#name); 744 RuntimeCallCounter name = RuntimeCallCounter(#name);
745 FOR_EACH_MANUAL_COUNTER(CALL_RUNTIME_COUNTER) 745 FOR_EACH_MANUAL_COUNTER(CALL_RUNTIME_COUNTER)
746 #undef CALL_RUNTIME_COUNTER 746 #undef CALL_RUNTIME_COUNTER
747 #define CALL_RUNTIME_COUNTER(name, nargs, ressize) \ 747 #define CALL_RUNTIME_COUNTER(name, nargs, ressize) \
748 RuntimeCallCounter Runtime_##name = RuntimeCallCounter(#name); 748 RuntimeCallCounter Runtime_##name = RuntimeCallCounter(#name);
749 FOR_EACH_INTRINSIC(CALL_RUNTIME_COUNTER) 749 FOR_EACH_INTRINSIC(CALL_RUNTIME_COUNTER)
750 #undef CALL_RUNTIME_COUNTER 750 #undef CALL_RUNTIME_COUNTER
751 #define CALL_BUILTIN_COUNTER(name, ignore) \ 751 #define CALL_BUILTIN_COUNTER(name) \
752 RuntimeCallCounter Builtin_##name = RuntimeCallCounter(#name); 752 RuntimeCallCounter Builtin_##name = RuntimeCallCounter(#name);
753 BUILTIN_LIST_C(CALL_BUILTIN_COUNTER) 753 BUILTIN_LIST_C(CALL_BUILTIN_COUNTER)
754 #undef CALL_BUILTIN_COUNTER 754 #undef CALL_BUILTIN_COUNTER
755 #define CALL_BUILTIN_COUNTER(name) \ 755 #define CALL_BUILTIN_COUNTER(name) \
756 RuntimeCallCounter API_##name = RuntimeCallCounter("API_" #name); 756 RuntimeCallCounter API_##name = RuntimeCallCounter("API_" #name);
757 FOR_EACH_API_COUNTER(CALL_BUILTIN_COUNTER) 757 FOR_EACH_API_COUNTER(CALL_BUILTIN_COUNTER)
758 #undef CALL_BUILTIN_COUNTER 758 #undef CALL_BUILTIN_COUNTER
759 #define CALL_BUILTIN_COUNTER(name) \ 759 #define CALL_BUILTIN_COUNTER(name) \
760 RuntimeCallCounter Handler_##name = RuntimeCallCounter(#name); 760 RuntimeCallCounter Handler_##name = RuntimeCallCounter(#name);
761 FOR_EACH_HANDLER_COUNTER(CALL_BUILTIN_COUNTER) 761 FOR_EACH_HANDLER_COUNTER(CALL_BUILTIN_COUNTER)
(...skipping 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
1237 1237
1238 explicit Counters(Isolate* isolate); 1238 explicit Counters(Isolate* isolate);
1239 1239
1240 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters); 1240 DISALLOW_IMPLICIT_CONSTRUCTORS(Counters);
1241 }; 1241 };
1242 1242
1243 } // namespace internal 1243 } // namespace internal
1244 } // namespace v8 1244 } // namespace v8
1245 1245
1246 #endif // V8_COUNTERS_H_ 1246 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/builtins/builtins.cc ('k') | src/counters.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698