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

Side by Side Diff: src/v8-counters.h

Issue 246075: Optimize calls to GenericBinaryStub (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/x64/assembler-x64.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 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \ 143 SC(constructed_objects_runtime, V8.ConstructedObjectsRuntime) \
144 SC(constructed_objects_stub, V8.ConstructedObjectsStub) \ 144 SC(constructed_objects_stub, V8.ConstructedObjectsStub) \
145 SC(array_function_runtime, V8.ArrayFunctionRuntime) \ 145 SC(array_function_runtime, V8.ArrayFunctionRuntime) \
146 SC(array_function_native, V8.ArrayFunctionNative) \ 146 SC(array_function_native, V8.ArrayFunctionNative) \
147 SC(for_in, V8.ForIn) \ 147 SC(for_in, V8.ForIn) \
148 SC(enum_cache_hits, V8.EnumCacheHits) \ 148 SC(enum_cache_hits, V8.EnumCacheHits) \
149 SC(enum_cache_misses, V8.EnumCacheMisses) \ 149 SC(enum_cache_misses, V8.EnumCacheMisses) \
150 SC(reloc_info_count, V8.RelocInfoCount) \ 150 SC(reloc_info_count, V8.RelocInfoCount) \
151 SC(reloc_info_size, V8.RelocInfoSize) \ 151 SC(reloc_info_size, V8.RelocInfoSize) \
152 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ 152 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \
153 SC(compute_entry_frame, V8.ComputeEntryFrame) 153 SC(compute_entry_frame, V8.ComputeEntryFrame) \
154 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \
155 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs)
154 156
155 157
156 // This file contains all the v8 counters that are in use. 158 // This file contains all the v8 counters that are in use.
157 class Counters : AllStatic { 159 class Counters : AllStatic {
158 public: 160 public:
159 #define HT(name, caption) \ 161 #define HT(name, caption) \
160 static HistogramTimer name; 162 static HistogramTimer name;
161 HISTOGRAM_TIMER_LIST(HT) 163 HISTOGRAM_TIMER_LIST(HT)
162 #undef HT 164 #undef HT
163 165
(...skipping 17 matching lines...) Expand all
181 stats_counter_count 183 stats_counter_count
182 }; 184 };
183 185
184 // Sliding state window counters. 186 // Sliding state window counters.
185 static StatsCounter state_counters[]; 187 static StatsCounter state_counters[];
186 }; 188 };
187 189
188 } } // namespace v8::internal 190 } } // namespace v8::internal
189 191
190 #endif // V8_V8_COUNTERS_H_ 192 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698