OLD | NEW |
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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 SC(reloc_info_count, V8.RelocInfoCount) \ | 149 SC(reloc_info_count, V8.RelocInfoCount) \ |
150 SC(reloc_info_size, V8.RelocInfoSize) \ | 150 SC(reloc_info_size, V8.RelocInfoSize) \ |
151 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ | 151 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ |
152 SC(compute_entry_frame, V8.ComputeEntryFrame) \ | 152 SC(compute_entry_frame, V8.ComputeEntryFrame) \ |
153 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ | 153 SC(generic_binary_stub_calls, V8.GenericBinaryStubCalls) \ |
154 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ | 154 SC(generic_binary_stub_calls_regs, V8.GenericBinaryStubCallsRegs) \ |
155 SC(string_add_runtime, V8.StringAddRuntime) \ | 155 SC(string_add_runtime, V8.StringAddRuntime) \ |
156 SC(string_add_native, V8.StringAddNative) \ | 156 SC(string_add_native, V8.StringAddNative) \ |
157 SC(sub_string_runtime, V8.SubStringRuntime) \ | 157 SC(sub_string_runtime, V8.SubStringRuntime) \ |
158 SC(sub_string_native, V8.SubStringNative) \ | 158 SC(sub_string_native, V8.SubStringNative) \ |
| 159 SC(string_compare_native, V8.StringCompareNative) \ |
| 160 SC(string_compare_runtime, V8.StringCompareRuntime) \ |
159 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ | 161 SC(regexp_entry_runtime, V8.RegExpEntryRuntime) \ |
160 SC(regexp_entry_native, V8.RegExpEntryNative) | 162 SC(regexp_entry_native, V8.RegExpEntryNative) |
161 | 163 |
162 // This file contains all the v8 counters that are in use. | 164 // This file contains all the v8 counters that are in use. |
163 class Counters : AllStatic { | 165 class Counters : AllStatic { |
164 public: | 166 public: |
165 #define HT(name, caption) \ | 167 #define HT(name, caption) \ |
166 static HistogramTimer name; | 168 static HistogramTimer name; |
167 HISTOGRAM_TIMER_LIST(HT) | 169 HISTOGRAM_TIMER_LIST(HT) |
168 #undef HT | 170 #undef HT |
(...skipping 18 matching lines...) Expand all Loading... |
187 stats_counter_count | 189 stats_counter_count |
188 }; | 190 }; |
189 | 191 |
190 // Sliding state window counters. | 192 // Sliding state window counters. |
191 static StatsCounter state_counters[]; | 193 static StatsCounter state_counters[]; |
192 }; | 194 }; |
193 | 195 |
194 } } // namespace v8::internal | 196 } } // namespace v8::internal |
195 | 197 |
196 #endif // V8_V8_COUNTERS_H_ | 198 #endif // V8_V8_COUNTERS_H_ |
OLD | NEW |