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

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

Issue 6529032: Merge 6168:6800 from bleeding_edge to experimental/gc branch. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/gc/
Patch Set: Created 9 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/v8.cc ('k') | src/v8globals.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 2010 the V8 project authors. All rights reserved. 1 // Copyright 2010 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 SC(gc_compactor_caused_by_promoted_data, \ 124 SC(gc_compactor_caused_by_promoted_data, \
125 V8.GCCompactorCausedByPromotedData) \ 125 V8.GCCompactorCausedByPromotedData) \
126 SC(gc_compactor_caused_by_oldspace_exhaustion, \ 126 SC(gc_compactor_caused_by_oldspace_exhaustion, \
127 V8.GCCompactorCausedByOldspaceExhaustion) \ 127 V8.GCCompactorCausedByOldspaceExhaustion) \
128 SC(gc_compactor_caused_by_weak_handles, \ 128 SC(gc_compactor_caused_by_weak_handles, \
129 V8.GCCompactorCausedByWeakHandles) \ 129 V8.GCCompactorCausedByWeakHandles) \
130 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \ 130 SC(gc_last_resort_from_js, V8.GCLastResortFromJS) \
131 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \ 131 SC(gc_last_resort_from_handles, V8.GCLastResortFromHandles) \
132 SC(map_slow_to_fast_elements, V8.MapSlowToFastElements) \ 132 SC(map_slow_to_fast_elements, V8.MapSlowToFastElements) \
133 SC(map_fast_to_slow_elements, V8.MapFastToSlowElements) \ 133 SC(map_fast_to_slow_elements, V8.MapFastToSlowElements) \
134 SC(map_to_pixel_array_elements, V8.MapToPixelArrayElements) \
134 /* How is the generic keyed-load stub used? */ \ 135 /* How is the generic keyed-load stub used? */ \
135 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \ 136 SC(keyed_load_generic_smi, V8.KeyedLoadGenericSmi) \
136 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \ 137 SC(keyed_load_generic_symbol, V8.KeyedLoadGenericSymbol) \
137 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \ 138 SC(keyed_load_generic_lookup_cache, V8.KeyedLoadGenericLookupCache) \
138 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \ 139 SC(keyed_load_generic_slow, V8.KeyedLoadGenericSlow) \
139 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \ 140 SC(keyed_load_external_array_slow, V8.KeyedLoadExternalArraySlow) \
140 /* How is the generic keyed-call stub used? */ \ 141 /* How is the generic keyed-call stub used? */ \
141 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \ 142 SC(keyed_call_generic_smi_fast, V8.KeyedCallGenericSmiFast) \
142 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \ 143 SC(keyed_call_generic_smi_dict, V8.KeyedCallGenericSmiDict) \
143 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \ 144 SC(keyed_call_generic_lookup_cache, V8.KeyedCallGenericLookupCache) \
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \ 246 SC(transcendental_cache_miss, V8.TranscendentalCacheMiss) \
246 SC(stack_interrupts, V8.StackInterrupts) \ 247 SC(stack_interrupts, V8.StackInterrupts) \
247 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \ 248 SC(runtime_profiler_ticks, V8.RuntimeProfilerTicks) \
248 SC(other_ticks, V8.OtherTicks) \ 249 SC(other_ticks, V8.OtherTicks) \
249 SC(js_opt_ticks, V8.JsOptTicks) \ 250 SC(js_opt_ticks, V8.JsOptTicks) \
250 SC(js_non_opt_ticks, V8.JsNonoptTicks) \ 251 SC(js_non_opt_ticks, V8.JsNonoptTicks) \
251 SC(js_other_ticks, V8.JsOtherTicks) \ 252 SC(js_other_ticks, V8.JsOtherTicks) \
252 SC(smi_checks_removed, V8.SmiChecksRemoved) \ 253 SC(smi_checks_removed, V8.SmiChecksRemoved) \
253 SC(map_checks_removed, V8.MapChecksRemoved) \ 254 SC(map_checks_removed, V8.MapChecksRemoved) \
254 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \ 255 SC(quote_json_char_count, V8.QuoteJsonCharacterCount) \
255 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount) \ 256 SC(quote_json_char_recount, V8.QuoteJsonCharacterReCount)
256 SC(instance_of, V8.InstanceOf) \
257 SC(instance_of_cache, V8.InstanceOfCache) \
258 SC(instance_of_stub_true, V8.InstanceOfStubTrue) \
259 SC(instance_of_stub_false, V8.InstanceOfStubFalse) \
260 SC(instance_of_stub_false_null, V8.InstanceOfStubFalseNull) \
261 SC(instance_of_stub_false_string, V8.InstanceOfStubFalseString) \
262 SC(instance_of_full, V8.InstanceOfFull) \
263 SC(instance_of_slow, V8.InstanceOfSlow)
264 257
265 258
266 // This file contains all the v8 counters that are in use. 259 // This file contains all the v8 counters that are in use.
267 class Counters : AllStatic { 260 class Counters : AllStatic {
268 public: 261 public:
269 #define HT(name, caption) \ 262 #define HT(name, caption) \
270 static HistogramTimer name; 263 static HistogramTimer name;
271 HISTOGRAM_TIMER_LIST(HT) 264 HISTOGRAM_TIMER_LIST(HT)
272 #undef HT 265 #undef HT
273 266
(...skipping 17 matching lines...) Expand all
291 stats_counter_count 284 stats_counter_count
292 }; 285 };
293 286
294 // Sliding state window counters. 287 // Sliding state window counters.
295 static StatsCounter state_counters[]; 288 static StatsCounter state_counters[];
296 }; 289 };
297 290
298 } } // namespace v8::internal 291 } } // namespace v8::internal
299 292
300 #endif // V8_V8_COUNTERS_H_ 293 #endif // V8_V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/v8.cc ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698