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

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

Issue 50011: Revert change 1509 that flush ICs when adding setters on an object or... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 9 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/runtime.cc ('k') | test/mjsunit/regress/regress-1344252.js » ('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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 SC(keyed_load_callback, V8.KeyedLoadCallback) \ 115 SC(keyed_load_callback, V8.KeyedLoadCallback) \
116 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \ 116 SC(keyed_load_interceptor, V8.KeyedLoadInterceptor) \
117 SC(keyed_load_inline, V8.KeyedLoadInline) \ 117 SC(keyed_load_inline, V8.KeyedLoadInline) \
118 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \ 118 SC(keyed_load_inline_miss, V8.KeyedLoadInlineMiss) \
119 SC(keyed_store_field, V8.KeyedStoreField) \ 119 SC(keyed_store_field, V8.KeyedStoreField) \
120 SC(for_in, V8.ForIn) \ 120 SC(for_in, V8.ForIn) \
121 SC(enum_cache_hits, V8.EnumCacheHits) \ 121 SC(enum_cache_hits, V8.EnumCacheHits) \
122 SC(enum_cache_misses, V8.EnumCacheMisses) \ 122 SC(enum_cache_misses, V8.EnumCacheMisses) \
123 SC(reloc_info_count, V8.RelocInfoCount) \ 123 SC(reloc_info_count, V8.RelocInfoCount) \
124 SC(reloc_info_size, V8.RelocInfoSize) \ 124 SC(reloc_info_size, V8.RelocInfoSize) \
125 SC(zone_segment_bytes, V8.ZoneSegmentBytes) \ 125 SC(zone_segment_bytes, V8.ZoneSegmentBytes)
126 SC(clear_store_ic, V8.ClearStoreIC)
127 126
128 127
129 // This file contains all the v8 counters that are in use. 128 // This file contains all the v8 counters that are in use.
130 class Counters : AllStatic { 129 class Counters : AllStatic {
131 public: 130 public:
132 #define HT(name, caption) \ 131 #define HT(name, caption) \
133 static HistogramTimer name; 132 static HistogramTimer name;
134 HISTOGRAM_TIMER_LIST(HT) 133 HISTOGRAM_TIMER_LIST(HT)
135 #undef HT 134 #undef HT
136 135
(...skipping 17 matching lines...) Expand all
154 stats_counter_count 153 stats_counter_count
155 }; 154 };
156 155
157 // Sliding state window counters. 156 // Sliding state window counters.
158 static StatsCounter state_counters[]; 157 static StatsCounter state_counters[];
159 }; 158 };
160 159
161 } } // namespace v8::internal 160 } } // namespace v8::internal
162 161
163 #endif // V8_COUNTERS_H_ 162 #endif // V8_COUNTERS_H_
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | test/mjsunit/regress/regress-1344252.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698