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

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

Issue 652041: IA32: Native access to TranscendentalCache for sin/cos. (Closed)
Patch Set: Updated to head. Removed dead code. Ignore first patch. 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
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(number_to_string_native, V8.NumberToStringNative) \ 171 SC(number_to_string_native, V8.NumberToStringNative) \
172 SC(number_to_string_runtime, V8.NumberToStringRuntime) 172 SC(number_to_string_runtime, V8.NumberToStringRuntime) \
173 SC(math_abs, V8.MathAbs) \
174 SC(math_acos, V8.MathAcos) \
175 SC(math_asin, V8.MathAsin) \
176 SC(math_atan, V8.MathAtan) \
177 SC(math_atan2, V8.MathAtan2) \
178 SC(math_ceil, V8.MathCeil) \
179 SC(math_cos, V8.MathCos) \
180 SC(math_exp, V8.MathExp) \
181 SC(math_floor, V8.MathFloor) \
182 SC(math_log, V8.MathLog) \
183 SC(math_pow, V8.MathPow) \
184 SC(math_round, V8.MathRound) \
185 SC(math_sin, V8.MathSin) \
186 SC(math_sqrt, V8.MathSqrt) \
187 SC(math_tan, V8.MathTan) \
188 SC(transcendental_cache_hit, V8.TranscendentalCacheHit) \
189 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss)
173 190
174 // This file contains all the v8 counters that are in use. 191 // This file contains all the v8 counters that are in use.
175 class Counters : AllStatic { 192 class Counters : AllStatic {
176 public: 193 public:
177 #define HT(name, caption) \ 194 #define HT(name, caption) \
178 static HistogramTimer name; 195 static HistogramTimer name;
179 HISTOGRAM_TIMER_LIST(HT) 196 HISTOGRAM_TIMER_LIST(HT)
180 #undef HT 197 #undef HT
181 198
182 #define SC(name, caption) \ 199 #define SC(name, caption) \
(...skipping 16 matching lines...) Expand all
199 stats_counter_count 216 stats_counter_count
200 }; 217 };
201 218
202 // Sliding state window counters. 219 // Sliding state window counters.
203 static StatsCounter state_counters[]; 220 static StatsCounter state_counters[];
204 }; 221 };
205 222
206 } } // namespace v8::internal 223 } } // namespace v8::internal
207 224
208 #endif // V8_V8_COUNTERS_H_ 225 #endif // V8_V8_COUNTERS_H_
OLDNEW
« src/ia32/disasm-ia32.cc ('K') | « src/serialize.cc ('k') | src/x64/codegen-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698