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

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

Issue 596082: Optimize string plus smi... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 10 years, 10 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') | 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 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 SC(compute_entry_frame, V8.ComputeEntryFrame) \ 160 SC(compute_entry_frame, V8.ComputeEntryFrame) \
161 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ 161 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \
162 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ 162 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \
163 SC(string_add_runtime, V8.StringAddRuntime) \ 163 SC(string_add_runtime, V8.StringAddRuntime) \
164 SC(string_add_native, V8.StringAddNative) \ 164 SC(string_add_native, V8.StringAddNative) \
165 SC(sub_string_runtime, V8.SubStringRuntime) \ 165 SC(sub_string_runtime, V8.SubStringRuntime) \
166 SC(sub_string_native, V8.SubStringNative) \ 166 SC(sub_string_native, V8.SubStringNative) \
167 SC(string_compare_native, V8.StringCompareNative) \ 167 SC(string_compare_native, V8.StringCompareNative) \
168 SC(string_compare_runtime, V8.StringCompareRuntime) \ 168 SC(string_compare_runtime, V8.StringCompareRuntime) \
169 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ 169 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \
170 SC(regexp_entry_native, V8.RegExpEntryNative) 170 SC(regexp_entry_native, V8.RegExpEntryNative) \
171 SC(string_plus_smi_hit, V8.StringPlusSmiHit) \
172 SC(string_plus_smi_miss, V8.StringPlusSmiMiss)
171 173
172 // This file contains all the v8 counters that are in use. 174 // This file contains all the v8 counters that are in use.
173 class Counters : AllStatic { 175 class Counters : AllStatic {
174 public: 176 public:
175 #define HT(name, caption) \ 177 #define HT(name, caption) \
176 static HistogramTimer name; 178 static HistogramTimer name;
177 HISTOGRAM_TIMER_LIST(HT) 179 HISTOGRAM_TIMER_LIST(HT)
178 #undef HT 180 #undef HT
179 181
180 #define SC(name, caption) \ 182 #define SC(name, caption) \
(...skipping 16 matching lines...) Expand all
197 stats_counter_count 199 stats_counter_count
198 }; 200 };
199 201
200 // Sliding state window counters. 202 // Sliding state window counters.
201 static StatsCounter state_counters[]; 203 static StatsCounter state_counters[];
202 }; 204 };
203 205
204 } } // namespace v8::internal 206 } } // namespace v8::internal
205 207
206 #endif // V8_V8_COUNTERS_H_ 208 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/ia32/codegen-ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698